forked from newthuhole/hole_thu_frontend
125 lines
2.1 KiB
CSS
125 lines
2.1 KiB
CSS
.box {
|
|
background-color: hsl(0,0%,97%);
|
|
border-radius: 5px;
|
|
margin: 1em 0;
|
|
padding: .5em;
|
|
box-shadow: 0 5px 20px rgba(0,0,0,.5);
|
|
}
|
|
|
|
.box-tip {
|
|
min-width: 100px;
|
|
z-index: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.left-container .flow-item {
|
|
display: inline-block;
|
|
width: 600px;
|
|
float: left;
|
|
}
|
|
|
|
.flow-reply-row {
|
|
display: inline-flex;
|
|
align-items: flex-start;
|
|
width: calc(100% - 625px);
|
|
margin-left: -25px;
|
|
padding-left: 20px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.flow-reply-row::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.flow-reply-row:empty {
|
|
margin: 0 !important;
|
|
display: none;
|
|
}
|
|
|
|
.flow-item-row::after {
|
|
content: "";
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
|
|
@media screen and (max-width: 900px) {
|
|
.left-container .flow-item {
|
|
display: block;
|
|
width: calc(100vw - 20px);
|
|
max-width: 600px;
|
|
float: none;
|
|
}
|
|
|
|
.flow-reply-row {
|
|
display: flex;
|
|
width: 100% !important;
|
|
margin-left: 0;
|
|
padding-left: 30px;
|
|
margin-top: -2.5em;
|
|
margin-bottom: -1em;
|
|
}
|
|
}
|
|
|
|
.left-container .flow-reply {
|
|
flex: 0 0 300px;
|
|
max-height: 15em;
|
|
margin-right: -5px;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.aux-margin,
|
|
.left-container .flow-item {
|
|
margin-left: 50px;
|
|
}
|
|
.aux-margin {
|
|
width: calc(100% - 2 * 50px);
|
|
}
|
|
|
|
@media screen and (max-width: 1200px) {
|
|
.aux-margin,
|
|
.left-container .flow-item {
|
|
margin-left: 10px;
|
|
}
|
|
.aux-margin {
|
|
width: calc(100% - 2 * 10px);
|
|
}
|
|
|
|
.flow-reply-row {
|
|
width: calc(100% - 585px);
|
|
}
|
|
}
|
|
|
|
.left-container .flow-item-row {
|
|
cursor: default;
|
|
transition: margin-left 200ms ease-out;
|
|
}
|
|
|
|
.flow-item-row p.img {
|
|
text-align: center;
|
|
}
|
|
p.img img {
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
box-shadow: 0 1px 5px rgba(0,0,0,.4);
|
|
}
|
|
|
|
.box-header-badge {
|
|
float: right;
|
|
margin: 0 .5em;
|
|
}
|
|
|
|
.box-id {
|
|
opacity: .6;
|
|
}
|
|
|
|
.flow-item-dot {
|
|
position: relative;
|
|
top: calc(-.5em - 5px);
|
|
left: calc(-.5em - 5px);
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-bottom: -10px;
|
|
border-radius: 50%;
|
|
background-color: orange;
|
|
box-shadow: 0 0 5px rgba(0,0,0,.4);
|
|
} |