web-apps/apps/common/main/resources/less/listview.less
Maxim Kadushkin f62aa45b18 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 15:40:30 +03:00

74 lines
1.5 KiB
Plaintext

.listview {
border: @scaled-one-px-value solid @border-regular-control;
.border-radius(@border-radius-small);
line-height: 15px;
&.inner {
width: 100%;
height: 100%;
max-height: 100%;
overflow: hidden;
position: relative;
.empty-text {
text-align: center;
width: 100%;
height: 100%;
color: @text-tertiary;
td {
padding: 5px;
}
}
}
&:not(.no-focus):focus {
border-color: @border-preview-select;
}
& > .item {
// display: block;
text-overflow: ellipsis;
padding: 3px 6px;
cursor: pointer;
white-space: pre-wrap;
background-color: @background-normal;
border-color: @border-regular-control;
border-style: solid;
border-width: @scaled-one-px-value 0;
border-top-color: transparent;
}
&:not(.disabled) > .item {
&:hover {
background-color: @highlight-button-hover;
border-color: @highlight-button-hover;
border-style: solid;
border-width: @scaled-one-px-value 0;
}
&.selected {
background-color: @highlight-button-pressed;
color: @text-normal-pressed;
border-color: @highlight-button-pressed;
border-style: solid;
border-width: @scaled-one-px-value 0;
}
}
&.ps-container {
overflow: hidden;
}
&.disabled {
> .item {
cursor: default;
opacity: 0.5;
}
}
}
.no-borders > .listview .item {
border-color: transparent;
border-top-color: transparent;
}