web-apps/apps/spreadsheeteditor/main/resources/less/leftmenu.less

717 lines
21 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
#left-menu {
&+.layout-resizer {
border-left: 0 none;
border-right: 0 none;
&.move {
border-left: @scaled-one-px-value-ie solid @border-toolbar-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-left: @scaled-one-px-value solid @border-toolbar;
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-right: @scaled-one-px-value solid @border-toolbar;
2016-03-11 00:48:53 +00:00
opacity: 0.4;
}
}
}
2021-06-28 17:18:53 +00:00
.left-panel {
#left-panel-history {
height: 100%;
}
}
2016-03-11 00:48:53 +00:00
.left-menu-full-ct {
width: 100%;
height: 100%;
left: 40px;
padding-right: 40px;
top: 0;
position: absolute;
z-index: @zindex-dropdown - 5;
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
2016-03-11 00:48:53 +00:00
overflow: hidden;
}
.btn-doc-format {
display: block;
width: 98px;
height: 125px;
cursor: pointer;
svg&:hover {
opacity:0.85;
}
}
2020-06-18 11:43:26 +00:00
.btn-blank-format {
display: block;
width: 96px;
height: 96px;
cursor: pointer;
}
2016-03-11 00:48:53 +00:00
#file-menu-panel {
.panel-menu {
li {
list-style: none;
position: relative;
&.fm-btn {
height: 27px;
margin-bottom: 3px;
&:hover:not(.disabled) {
background-color: @highlight-button-hover-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-hover;
2016-03-11 00:48:53 +00:00
}
&.active:not(.disabled) {
2016-03-11 00:48:53 +00:00
outline: 0;
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
2016-03-11 00:48:53 +00:00
> a {
2021-02-17 16:00:28 +00:00
color: @text-normal-pressed;
2016-03-11 00:48:53 +00:00
}
}
&.disabled > a {
cursor: default;
color: @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
color: @border-regular-control;
}
2016-03-11 00:48:53 +00:00
}
&.devider {
.dropdown-menu .divider;
margin-top: 10px;
margin-bottom: 10px;
}
&:first-child {
margin-top: 15px;
}
> a {
&:extend(.dropdown-menu > li > a);
padding-top: 4px;
cursor: pointer;
font-size: 13px;
&:hover {
text-decoration: none;
}
&:focus {
outline: 0;
}
}
}
}
.panel-context {
width: 100%;
padding-left: 260px;
background-color: @background-normal-ie;
background-color: @background-normal;
2016-03-11 00:48:53 +00:00
.content-box {
height: 100%;
padding: 0 20px;
label.empty {
position: absolute;
top: 45%;
left: 50%;
}
position: relative;
overflow: hidden;
}
#panel-saveas, #panel-savecopy {
2016-03-11 00:48:53 +00:00
table {
margin-left: auto;
margin-right: auto;
2021-10-29 09:23:28 +00:00
margin-bottom: 24px;
2016-03-11 00:48:53 +00:00
.btn-doc-format {
2021-10-29 09:23:28 +00:00
margin: 24px 12px 0px;
2016-03-11 00:48:53 +00:00
}
}
}
#panel-settings-general,
#panel-settings-print {
& > div {
width: 100%;
height: 100%;
padding: 0;
display: flex;
flex-direction: column;
}
}
#panel-info {
padding: 0;
display: flex;
flex-direction: column;
}
2016-03-11 00:48:53 +00:00
#panel-settings {
padding: 0;
#id-settings-menu {
.dataview {
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-right: @scaled-one-px-value solid @border-toolbar;
2016-03-11 00:48:53 +00:00
& > div:not([class^=ps-scrollbar]) {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
.settings-item-wrap {
padding: 4px 2px 4px 20px;
.settings-icon {
width: 20px;
height: 20px;
margin: 0 5px 3px 0;
vertical-align: middle;
}
}
&:hover,
&.over {
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
2016-03-11 00:48:53 +00:00
}
&.selected {
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
2021-02-17 16:00:28 +00:00
color: @text-normal-pressed;
2016-03-11 00:48:53 +00:00
.settings-icon {
2021-04-15 13:40:49 +00:00
background-position-x: @button-small-active-icon-offset-x;
2016-03-11 00:48:53 +00:00
}
}
}
}
}
table {
tr {
td {
padding: 5px 10px;
&.left {
text-align: right;
width: 30%;
label {
2022-01-26 15:00:09 +00:00
.font-weight-bold();
2017-11-15 08:00:22 +00:00
font-size: 12px;
2016-03-11 00:48:53 +00:00
}
}
&.right {
width: 70%;
}
}
&.divider {
height: 10px;
}
}
&.main {
width: 100%;
}
&.no-padding {
tr td {
padding: 0 20px 0 0;
vertical-align: top;
& > div {
margin-bottom: 15px;
}
}
}
}
.main-settings-panel {
display: none;
overflow: hidden;
&.active {
display: block;
}
}
}
#panel-createnew {
h3 {
margin: 0;
font-size: 10pt;
2021-07-28 11:47:49 +00:00
color: @text-normal-ie;
color: @text-normal;
2022-01-26 15:00:09 +00:00
.font-weight-bold();
2016-03-11 00:48:53 +00:00
padding: 0 0 10px 10px;
white-space: nowrap;
}
.blank-document-info {
vertical-align: top;
width: 445px;
display: inline-block;
h3 {
padding-left: 0;
2020-06-18 11:43:26 +00:00
padding-top: 45px;
2016-03-11 00:48:53 +00:00
white-space: nowrap;
}
}
hr {
margin: 0;
border-bottom: none;
2021-07-28 11:47:49 +00:00
border-top: @scaled-one-px-value-ie solid @border-divider-ie;
border-top: @scaled-one-px-value solid @border-divider;
2016-03-11 00:48:53 +00:00
}
.thumb-list {
2021-08-23 20:13:08 +00:00
max-width: 600px;
.thumb-wrap, .blank-document {
2016-03-11 00:48:53 +00:00
display: inline-block;
text-align: center;
width: auto;
cursor: pointer;
2021-08-20 00:57:16 +00:00
vertical-align: top;
.border-radius(@border-radius-small);
2016-03-11 00:48:53 +00:00
2021-08-23 20:13:08 +00:00
.thumb, .blank-document-btn {
2020-06-18 11:43:26 +00:00
width: 96px;
height: 96px;
2020-04-30 14:34:04 +00:00
background-repeat: no-repeat;
2020-04-30 15:35:30 +00:00
background-position: center;
2021-08-20 00:57:16 +00:00
margin: 12px 12px 0px 12px;
2021-11-24 11:35:15 +00:00
background-size: contain;
2016-03-11 00:48:53 +00:00
}
.title {
2021-08-20 00:57:16 +00:00
width: 104px;
font-size: 12px;
line-height: 14px;
height: 28px;
margin: 8px 8px 12px 8px;
2021-08-24 11:32:21 +00:00
word-break: break-word;
word-wrap: break-word;
2021-08-24 10:38:19 +00:00
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
2021-08-20 00:57:16 +00:00
}
&:hover{
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
}
&:active{
2021-08-24 08:37:19 +00:00
color: @text-normal-pressed-ie;
color: @text-normal-pressed;
2021-08-20 00:57:16 +00:00
background-color: @highlight-button-pressed-ie;
background-color: @highlight-button-pressed;
2016-03-11 00:48:53 +00:00
}
}
}
}
#panel-recentfiles {
.dataview {
& > div:not([class^=ps-scrollbar]) {
border: none;
width: 100%;
.box-shadow(none);
}
}
.recent-wrap {
2020-06-11 16:36:37 +00:00
padding: 5px 10px;
2016-03-11 00:48:53 +00:00
cursor: pointer;
font-size: 12px;
&:hover,
&.over {
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
2016-03-11 00:48:53 +00:00
}
.recent-icon {
float: left;
2020-06-11 16:36:37 +00:00
width: 25px;
height: 25px;
2020-06-15 09:49:11 +00:00
margin-top: 1px;
2020-06-11 16:36:37 +00:00
svg {
width: 100%;
height: 100%;
}
2016-03-11 00:48:53 +00:00
}
.file-name {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.file-info {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #999;
}
}
}
#panel-help {
padding: 0;
overflow-y: hidden;
.no-padding {
padding: 0;
vertical-align: top;
}
.dataview {
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
Merge branch 'develop' into feature/multiZoom5.5 # Conflicts: # apps/common/main/resources/img/toolbar/1x/big/.css.handlebars # apps/common/main/resources/less/asc-mixins.less # apps/common/main/resources/less/buttons.less # apps/common/main/resources/less/checkbox.less # apps/common/main/resources/less/combo-dataview.less # apps/common/main/resources/less/comments.less # apps/common/main/resources/less/common.less # apps/common/main/resources/less/dataview.less # apps/common/main/resources/less/dropdown-menu.less # apps/common/main/resources/less/listview.less # apps/common/main/resources/less/multislider-gradient.less # apps/common/main/resources/less/radiobox.less # apps/common/main/resources/less/scroller.less # apps/common/main/resources/less/separator.less # apps/common/main/resources/less/theme-colorpalette.less # apps/common/main/resources/less/toolbar.less # apps/common/main/resources/less/window.less # apps/documenteditor/main/resources/less/advanced-settings.less # apps/documenteditor/main/resources/less/filemenu.less # apps/documenteditor/main/resources/less/leftmenu.less # apps/documenteditor/main/resources/less/rightmenu.less # apps/documenteditor/main/resources/less/statusbar.less # apps/documenteditor/main/resources/less/toolbar.less # apps/presentationeditor/main/resources/less/leftmenu.less # apps/presentationeditor/main/resources/less/rightmenu.less # apps/presentationeditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/celleditor.less # apps/spreadsheeteditor/main/resources/less/leftmenu.less # apps/spreadsheeteditor/main/resources/less/rightmenu.less # apps/spreadsheeteditor/main/resources/less/statusbar.less # apps/spreadsheeteditor/main/resources/less/toolbar.less
2021-02-10 12:40:30 +00:00
border-right: @scaled-one-px-value solid @border-toolbar;
2016-03-11 00:48:53 +00:00
& > div:not([class^=ps-scrollbar]) {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
2018-07-17 12:19:05 +00:00
float: none;
2016-03-11 00:48:53 +00:00
&:not(.header-name) {
&:hover,
&.over {
background-color: @background-toolbar-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-toolbar;
2016-03-11 00:48:53 +00:00
}
&.selected {
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
2021-02-17 16:00:28 +00:00
color: @text-normal-pressed;
2016-03-11 00:48:53 +00:00
}
}
}
.help-item-wrap {
2018-07-17 12:19:05 +00:00
padding: 4px 2px 4px 20px;
2016-03-11 00:48:53 +00:00
}
.header-name {
2018-07-17 12:19:05 +00:00
padding: 16px 2px 4px 10px;
2016-03-11 00:48:53 +00:00
}
}
}
#panel-rights {
padding: 0 30px;
}
#panel-info,
#panel-rights {
2016-03-11 00:48:53 +00:00
table {
tr {
td {
padding: 0 20px 5px 0;
&.left {
padding: 5px 10px;
text-align: right;
width: 30%;
label {
2022-01-26 15:00:09 +00:00
.font-weight-bold();
2016-03-11 00:48:53 +00:00
}
}
&.right {
padding: 5px 10px;
width: 70%;
}
}
&.divider {
height: 10px;
}
}
&.main {
width: 100%;
}
}
.userLink {
.background-ximage('@{common-image-path}/@{common-controls}', '@{common-image-path}/@{common-controls2x}', 100px);
background-position: -81px -234px;
background-repeat: no-repeat;
padding: 0 0 0 17px;
width: 16px;
height: 16px;
&.sharedLink {
background-position: -24px -273px;
}
}
label, span {
2017-11-15 08:00:22 +00:00
font-size: 12px;
2016-03-11 00:48:53 +00:00
}
2019-05-16 08:52:49 +00:00
2021-11-24 06:52:29 +00:00
.tool {
margin-left: 4px;
background-image: none;
&.close{
&:before, &:after {
height: 12px;
left: 8px;
width: 2px;
width: @scaled-two-px-value;
}
&.disabled {
opacity: 0.4;
}
2019-06-21 12:19:56 +00:00
}
2019-05-16 08:52:49 +00:00
}
2016-03-11 00:48:53 +00:00
}
#panel-protect {
2018-04-27 13:14:18 +00:00
label {
font-size: 12px;
}
padding: 30px 30px;
.header {
2022-01-26 15:00:09 +00:00
.font-weight-bold();
margin: 30px 0 10px;
}
table {
td {
padding: 5px 0;
}
}
}
#panel-print {
padding: 0;
#id-print-settings {
position: absolute;
width:280px;
top: 0;
bottom: 0;
}
.print-settings {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
border-right: @scaled-one-px-value solid @border-toolbar;
label.header {
font-weight: 700;
}
.footer {
.btn.primary {
margin-right: 8px;
}
}
.settings-container {
width: 100%;
height: 100%;
overflow: hidden;
padding: 12px 16px;
.padding-small {
padding-bottom: 8px;
}
.padding-large {
padding-bottom: 16px;
}
#print-apply-all {
margin-top: 5px;
}
.link {
margin-top: 9px;
}
.footer {
margin-top: 24px;
}
}
.fms-flex-apply {
padding-left: 16px;
.footer {
.btn {
margin-top: 16px;
margin-bottom: 16px;
}
}
}
}
#print-navigation {
height: 50px;
padding-left: 20px;
padding-top: 10px;
display: flex;
.btn-prev-page, .btn-next-page {
background-color: transparent;
padding: 0;
height: 20px;
width: 20px;
i.arrow {
display: inline-block;
width: 10px;
height: 10px;
border: solid @scaled-one-px-value-ie @icon-normal-ie;
border: solid @scaled-one-px-value @icon-normal;
border-bottom: none;
border-right: none;
}
&.disabled {
opacity: @component-disabled-opacity;
}
&:hover:not(:disabled):not(.disabled) {
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover;
}
}
.btn-prev-page {
i {
transform: rotate(-45deg) translate(-1px, 3px);
}
}
.btn-next-page {
i {
transform: rotate(135deg) translate(4px, 0px);
}
}
.page-number {
display: flex;
align-items: center;
height: 20px;
margin-left: 10px;
label {
2022-01-26 15:00:09 +00:00
.font-weight-bold();
}
#print-count-page, #print-number-page {
margin-left: 4px;
}
}
#print-active-sheet {
margin-left: 12px;
height: 20px;
line-height: 20px;
}
}
#print-preview {
height: calc(100% - 50px);
}
}
2016-03-11 00:48:53 +00:00
}
}
#developer-hint, #beta-hint, #limit-hint {
position: absolute;
left: 0;
padding: 12px 0;
background-color: #ffb400;
color: #6e4e00 !important;
2020-11-03 10:41:26 +00:00
white-space: pre;
line-height: @app-header-height;
2017-10-13 14:36:52 +00:00
writing-mode: tb-rl;
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
2019-01-16 10:51:34 +00:00
cursor: default;
2017-09-13 08:57:30 +00:00
}
2019-08-02 10:56:21 +00:00
.img-complete {
background-position: -42px -234px;
height: 16px;
width: 16px;
}
.search-panel {
#search-options {
label {
width: 100%;
}
}
#search-results {
padding-top: 6px;
.search-table {
width:100%;
height: 100%;
position: relative;
}
.header-item {
width:16%;
display: inline-block;
height: 18px;
text-align: start;
font-weight: normal;
padding-left: 4px;
&:not(:first-child) {
border-left: @scaled-one-px-value-ie solid @border-divider-ie;
border-left: @scaled-one-px-value solid @border-divider;
}
&:last-child {
width:36%;
}
}
.search-items {
height: calc(100% - 24px);
position: absolute;
top: 23px;
width: 100%;
overflow: hidden;
.item {
padding: 0;
display: flex;
div {
width: 16%;
padding-left: 4px;
height: 28px;
line-height: 28px;
2022-05-13 17:53:11 +00:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:last-child {
width: 36%;
}
}
}
}
}
}