forked from newthuhole/hole_thu_frontend
add sidebar and infinite scroll
This commit is contained in:
@@ -1,3 +1,42 @@
|
||||
.box {
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
margin: 1em 0;
|
||||
padding: .5em;
|
||||
box-shadow: 0 5px 20px #999;
|
||||
}
|
||||
|
||||
.left-container .centered-line {
|
||||
width: calc(100% - 2 * 50px);
|
||||
}
|
||||
.flow-item {
|
||||
flex: 0 0 600px;
|
||||
}
|
||||
:not(.sidebar-flow-item) .flow-reply {
|
||||
flex: 0 0 300px;
|
||||
max-height: 15em;
|
||||
margin-left: -5px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.left-container .centered-line,
|
||||
.left-container .flow-item {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.flow-item-row {
|
||||
transition: margin-left 200ms ease-out;
|
||||
}
|
||||
:not(.sidebar-flow-item).flow-item-row:hover {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
:not(.sidebar-flow-item).flow-item-row {
|
||||
display: flex;
|
||||
overflow-x: hidden;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.flow-item-row img {
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -9,10 +48,7 @@
|
||||
|
||||
.box-header-badge {
|
||||
float: right;
|
||||
border: 1px solid black;
|
||||
border-radius: 7px;
|
||||
margin: 0 .5em;
|
||||
padding: 0 .5em;
|
||||
}
|
||||
|
||||
.box-id {
|
||||
|
||||
Reference in New Issue
Block a user