2016-03-11 00:48:53 +00:00
|
|
|
#history-box {
|
|
|
|
position: relative;
|
|
|
|
border-right: 1px solid #cbcbcb;
|
|
|
|
}
|
|
|
|
|
|
|
|
#history-header {
|
|
|
|
position: absolute;
|
|
|
|
height: 45px;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom: 1px solid @gray-dark;
|
|
|
|
|
|
|
|
#history-btn-back {
|
|
|
|
height: 27px;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-left: 20px;
|
|
|
|
font-size: 13px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#history-list {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 45px;
|
|
|
|
|
|
|
|
.item {
|
|
|
|
display: block;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
|
|
|
.box-shadow(none);
|
|
|
|
margin: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
&:hover:not(.selected),
|
|
|
|
&.over {
|
|
|
|
background-color: @secondary;
|
|
|
|
|
|
|
|
.user-version {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #ababab;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: @primary;
|
|
|
|
|
|
|
|
.user-name,
|
|
|
|
.user-date {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2016-09-22 09:43:31 +00:00
|
|
|
|
|
|
|
.revision-expand {
|
|
|
|
background-position: -74px -149px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-item-wrap {
|
|
|
|
padding: 10px 2px 15px 20px;
|
|
|
|
color: @gray-deep;
|
|
|
|
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;
|
2016-09-22 09:43:31 +00:00
|
|
|
max-width: 60px;
|
2016-03-11 00:48:53 +00:00
|
|
|
height: 18px;
|
|
|
|
color: @primary;
|
|
|
|
font-size: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
text-align: center;
|
2016-09-22 09:43:31 +00:00
|
|
|
padding: 1px 5px;
|
2016-03-11 00:48:53 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-name {
|
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 12px;
|
|
|
|
cursor: pointer;
|
2016-09-21 13:07:45 +00:00
|
|
|
color: @gray-darker;
|
2016-09-22 09:43:31 +00:00
|
|
|
max-width: 210px;
|
|
|
|
text-overflow: ellipsis;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.color {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border: 1px solid @gray-dark;
|
|
|
|
margin: 0 5px 3px 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-09-16 12:46:00 +00:00
|
|
|
|
2016-09-22 09:43:31 +00:00
|
|
|
.revision-expand {
|
2016-09-16 12:46:00 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-09-22 09:43:31 +00:00
|
|
|
background-position: -47px -149px;
|
|
|
|
margin: 14px 12px;
|
2016-09-16 12:46:00 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2016-09-22 09:43:31 +00:00
|
|
|
|
|
|
|
&.up {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.revision-restore {
|
|
|
|
color: #fff;
|
|
|
|
border-bottom: 1px dotted #fff;
|
|
|
|
height: 16px;
|
|
|
|
margin-top: 5px;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
width: auto;
|
|
|
|
cursor: pointer;
|
2016-09-16 12:46:00 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|