web-apps/apps/common/main/resources/less/history.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

157 lines
3.6 KiB
Plaintext

#history-box {
position: relative;
border-right: @scaled-one-px-value solid @border-toolbar;
}
#history-header {
position: absolute;
height: 53px;
left: 0;
top: 0;
right: 0;
overflow: hidden;
border-bottom: @scaled-one-px-value solid @border-toolbar;
#history-btn-back {
height: 27px;
margin-top: 15px;
padding-top: 4px;
padding-left: 20px;
font-size: 13px;
cursor: pointer;
&:hover {
background-color: @highlight-button-hover;
}
}
}
#history-expand-changes {
position: absolute;
height: 45px;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
border-top: @scaled-one-px-value solid @border-toolbar;
#history-btn-expand {
height: 27px;
margin-top: 8px;
padding-top: 4px;
padding-left: 20px;
font-size: 13px;
cursor: pointer;
&:hover {
background-color: @highlight-button-hover;
}
}
}
#history-list {
height: 100%;
overflow: hidden;
padding: 53px 0 45px 0;
.item {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
&:hover:not(.selected),
&.over {
background-color: @highlight-button-hover;
}
&.selected {
background-color: @highlight-button-pressed;
.user-name,
.user-date {
color: @text-normal-pressed;
}
.revision-expand {
background-position: -70px -145px;
}
}
}
.history-item-wrap {
padding: 10px 2px 15px 20px;
color: @text-normal;
text-overflow: ellipsis;
.user-date {
display: inline-block;
font-size: 12px;
font-weight: bold;
margin-right: 12px;
white-space: nowrap;
overflow: hidden;
}
.user-version {
display: inline-block;
max-width: 60px;
height: 18px;
color: @highlight-button-pressed;
font-size: 10px;
white-space: nowrap;
overflow: hidden;
color: @text-tertiary;
background-color: @background-normal;
text-align: center;
padding: 1px 5px;
border-radius: 2px;
}
.user-name {
width: 100%;
white-space: nowrap;
overflow: hidden;
font-size: 12px;
font-weight: bold;
cursor: pointer;
text-overflow: ellipsis;
padding-right: 35px;
}
.color {
width: 12px;
height: 12px;
border: @scaled-one-px-value solid @border-toolbar;
margin: 0 5px 3px 0;
vertical-align: middle;
}
.revision-expand {
width: 23px;
height: 23px;
background-position: -43px -145px;
margin: 10px 10px;
display: inline-block;
position: absolute;
right: 0;
&.up {
transform: rotate(180deg);
}
}
.revision-restore {
color: @text-normal;
border-bottom: @scaled-one-px-value dotted @text-normal;
height: 16px;
margin-top: 5px;
white-space: pre-wrap;
width: auto;
cursor: pointer;
}
}
}