2018-07-12 16:43:17 +00:00
|
|
|
@import (reference) "./colortheme-all.less";
|
2017-09-04 13:09:54 +00:00
|
|
|
|
|
|
|
.history_main () {
|
2017-09-21 16:00:11 +00:00
|
|
|
.cp-toolbar-history {
|
2017-09-04 13:09:54 +00:00
|
|
|
display: none;
|
|
|
|
text-align: center;
|
2017-11-21 16:48:43 +00:00
|
|
|
width: 100%;
|
2018-06-19 14:59:59 +00:00
|
|
|
padding: 10px 0;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-09-04 13:09:54 +00:00
|
|
|
* {
|
|
|
|
font: @colortheme_app-font;
|
|
|
|
}
|
2018-06-19 14:59:59 +00:00
|
|
|
.cp-history-filler {
|
|
|
|
flex: 1;
|
2017-09-04 13:09:54 +00:00
|
|
|
}
|
2018-06-19 14:59:59 +00:00
|
|
|
.cp-toolbar-history-close,
|
|
|
|
.cp-toolbar-history-revert {
|
|
|
|
background: white;
|
|
|
|
color: black;
|
|
|
|
//margin-top: 5px;
|
|
|
|
&:hover {
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-toolbar-history-loadmore {
|
|
|
|
height: 100%;
|
|
|
|
color: black;
|
|
|
|
width: 25px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.cp-toolbar-history-version {
|
|
|
|
position: absolute;
|
|
|
|
height: 25px;
|
|
|
|
line-height: 25px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2018-06-25 14:59:40 +00:00
|
|
|
color: black;
|
2017-09-04 13:09:54 +00:00
|
|
|
}
|
|
|
|
.cp-toolbar-history-goto {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
2018-06-19 14:59:59 +00:00
|
|
|
flex: 1;
|
|
|
|
flex-basis: 80%;
|
|
|
|
min-width: 0;
|
|
|
|
max-width: 600px;
|
2017-09-04 13:09:54 +00:00
|
|
|
input { width: 75px; }
|
|
|
|
}
|
|
|
|
.cp-toolbar-history-goto-input {
|
|
|
|
padding-left: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-06-19 14:59:59 +00:00
|
|
|
.cp-toolbar-history-bar {
|
|
|
|
width: 100%;
|
|
|
|
background: white;
|
|
|
|
height: 25px;
|
|
|
|
margin: auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.cp-toolbar-history-pos-container {
|
|
|
|
width: ~"calc(100% - 2px)";
|
|
|
|
height: 25px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
@pos-color: #55FF55;
|
|
|
|
.cp-toolbar-history-pos {
|
|
|
|
width: 2px;
|
|
|
|
height: 25px;
|
|
|
|
background: @pos-color;
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
border: 6px solid transparent;
|
|
|
|
border-top-color: @pos-color;
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
|
|
|
}
|
2017-09-04 13:09:54 +00:00
|
|
|
button {
|
|
|
|
color: inherit;
|
|
|
|
background-color: rgba(0,0,0,0.2);
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fa-spinner {
|
|
|
|
font-size: 66px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|