web-apps/apps/common/main/resources/less/listview.less

87 lines
2.2 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.listview {
2021-02-16 07:21:22 +00:00
border: @scaled-one-px-value-ie solid @border-regular-control-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: @scaled-one-px-value solid @border-regular-control;
2020-09-27 11:40:27 +00:00
.border-radius(@border-radius-small);
2020-04-09 13:29:04 +00:00
line-height: 15px;
2016-03-11 00:48:53 +00:00
&.inner {
width: 100%;
height: 100%;
max-height: 100%;
overflow: hidden;
position: relative;
.empty-text {
text-align: center;
width: 100%;
height: 100%;
2021-02-16 07:21:22 +00:00
color: @text-tertiary-ie;
2020-12-19 19:43:19 +00:00
color: @text-tertiary;
td {
padding: 5px;
}
2016-03-11 00:48:53 +00:00
}
}
&:not(.no-focus):focus {
2021-02-16 07:21:22 +00:00
border-color: @border-preview-select-ie;
2020-12-19 19:43:19 +00:00
border-color: @border-preview-select;
}
2016-03-11 00:48:53 +00:00
& > .item {
// display: block;
text-overflow: ellipsis;
padding: 3px 6px;
cursor: pointer;
white-space: pre-wrap;
2021-02-16 07:21:22 +00:00
background-color: @background-normal-ie;
2020-12-19 19:43:19 +00:00
background-color: @background-normal;
2021-02-16 07:21:22 +00:00
border-color: @border-regular-control-ie;
2020-12-19 19:43:19 +00:00
border-color: @border-regular-control;
2016-03-11 00:48:53 +00:00
border-style: solid;
2021-02-16 07:21:22 +00:00
border-width: @scaled-one-px-value-ie 0;
2021-01-31 19:35:09 +00:00
border-width: @scaled-one-px-value 0;
border-top-color: transparent;
2017-10-11 12:21:31 +00:00
}
2016-03-11 00:48:53 +00:00
2017-10-11 12:21:31 +00:00
&:not(.disabled) > .item {
2016-03-11 00:48:53 +00:00
&:hover {
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-hover-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-hover;
2021-02-16 07:21:22 +00:00
border-color: @highlight-button-hover-ie;
2020-12-19 19:43:19 +00:00
border-color: @highlight-button-hover;
2017-10-11 12:21:31 +00:00
border-style: solid;
2021-02-16 07:21:22 +00:00
border-width: @scaled-one-px-value-ie 0;
2021-01-31 19:35:09 +00:00
border-width: @scaled-one-px-value 0;
2016-03-11 00:48:53 +00:00
}
&.selected {
2021-02-16 07:21:22 +00:00
background-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
background-color: @highlight-button-pressed;
2021-02-16 07:21:22 +00:00
color: @text-normal-pressed-ie;
color: @text-normal-pressed;
2021-02-16 07:21:22 +00:00
border-color: @highlight-button-pressed-ie;
2020-12-19 19:43:19 +00:00
border-color: @highlight-button-pressed;
2017-10-11 12:21:31 +00:00
border-style: solid;
2021-02-16 07:21:22 +00:00
border-width: @scaled-one-px-value-ie 0;
2021-01-31 19:35:09 +00:00
border-width: @scaled-one-px-value 0;
2016-03-11 00:48:53 +00:00
}
}
&.ps-container {
overflow: hidden;
}
2017-10-11 12:21:31 +00:00
&.disabled {
> .item {
cursor: default;
opacity: 0.5;
}
}
2019-12-19 14:14:05 +00:00
}
.no-borders > .listview .item {
border-color: transparent;
border-top-color: transparent;
2016-03-11 00:48:53 +00:00
}