2018-12-26 16:07:22 +08:00
|
|
|
.history-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid #e8e8e8;
|
|
|
|
background-color: #f4f4f7;
|
|
|
|
font-size: 1rem;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
}
|
2018-12-25 10:39:57 +08:00
|
|
|
.history-header .title {
|
2018-12-28 11:12:24 +08:00
|
|
|
font-size: 1.25rem;
|
2018-12-25 10:39:57 +08:00
|
|
|
line-height: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-header .title .go-back {
|
|
|
|
margin-right: 0.75rem;
|
|
|
|
color: #c0c0c0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-header .title .go-back:hover {
|
|
|
|
color:#ff9933;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-viewer {
|
2018-09-12 17:01:48 +08:00
|
|
|
background-color: #fafaf9;
|
|
|
|
border-radius: 10px;
|
2018-12-25 10:39:57 +08:00
|
|
|
overflow: auto;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
2018-12-25 10:39:57 +08:00
|
|
|
.markdown-viewer-render-content {
|
2018-09-12 17:01:48 +08:00
|
|
|
background-color: #fff;
|
2018-09-26 02:27:14 -07:00
|
|
|
word-break: break-word;
|
2018-12-25 10:39:57 +08:00
|
|
|
margin: 20px 40px;
|
|
|
|
border: 1px solid #e6e6dd;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
2019-02-11 17:38:28 +08:00
|
|
|
.markdown-viewer-render-content .diff-view {
|
|
|
|
padding: 40px 60px;
|
|
|
|
}
|
|
|
|
|
2018-12-25 10:39:57 +08:00
|
|
|
.panel-header {
|
2018-09-12 17:01:48 +08:00
|
|
|
position: relative;
|
2018-12-25 10:39:57 +08:00
|
|
|
padding: .5rem 0;
|
2018-09-12 17:01:48 +08:00
|
|
|
width: 100%;
|
|
|
|
border-bottom: 1px solid #e8e8e8;
|
|
|
|
font-size: 1rem;
|
2018-12-25 10:39:57 +08:00
|
|
|
font-weight: 400;
|
2018-09-12 17:01:48 +08:00
|
|
|
line-height: 1.5;
|
|
|
|
height: 36px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-12-25 10:39:57 +08:00
|
|
|
.history-body {
|
2018-09-12 17:01:48 +08:00
|
|
|
display: flex;
|
2018-12-25 10:39:57 +08:00
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
2018-09-12 17:01:48 +08:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-list-container {
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
2018-12-25 10:39:57 +08:00
|
|
|
min-height: 0;
|
2018-09-12 17:01:48 +08:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-list-container .history-list-item {
|
2018-12-06 13:58:32 +08:00
|
|
|
padding: 5px 10px;
|
2018-09-12 17:01:48 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-list-container .history-list-item:hover {
|
2018-12-03 16:20:31 +08:00
|
|
|
background-color: #ffe7d5;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.item-active {
|
|
|
|
color: #fff;
|
2018-12-03 16:20:31 +08:00
|
|
|
background-color: #fdc297 !important;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.item-active i {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-list-item .history-info {
|
|
|
|
flex: 1;
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-list-item .history-operation {
|
|
|
|
width: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-info .time {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-info .owner {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
color: #888;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.owner .squire-icon {
|
|
|
|
width: 0.5rem;
|
|
|
|
height: 0.5rem;
|
|
|
|
background-color: #549b5a;
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-body .dropdown-menu {
|
|
|
|
min-width: 8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-body .dropdown-menu a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #6e7687;
|
|
|
|
}
|
2019-02-15 11:42:57 +08:00
|
|
|
|
|
|
|
.history-content .main-panel {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-content .history-side-panel {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
user-select: none;
|
|
|
|
border-left: 1px solid #e5e5e5;
|
|
|
|
background-color: #fff;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-content .history-side-panel .history-side-panel-title {
|
|
|
|
height: 50px;
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
line-height: 50px;
|
|
|
|
font-size: 1rem;
|
|
|
|
padding: 0 10px;
|
|
|
|
background-color: rgb(250,250,249);
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width:992px) {
|
|
|
|
.history-side-panel {
|
|
|
|
width: 260px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|