openvk/Web/static/css/microblog.css

151 lines
2.6 KiB
CSS
Raw Permalink Normal View History

/* VK's Microblog CSS */
/* Design belongs to Pavel Durov & VK Group */
.post {
2022-04-17 13:16:34 +03:00
padding: 5px 0;
}
.post-divider {
border-bottom: 1px #ddd solid;
}
.post-author {
background-color: transparent;
border: none;
2022-04-17 13:16:34 +03:00
padding: 0 3px 3px;
}
.post-author .date {
font-size: 11px;
color: grey;
}
.post-content {
border: none;
}
.post-content .text {
2022-04-17 13:16:34 +03:00
padding: 0 4px;
}
.post-menu {
font-size: 10px;
}
.post-menu .date {
color: grey;
}
2021-11-28 14:39:42 +03:00
.comment {
2022-04-17 13:16:34 +03:00
padding: 5px 0 0;
2021-11-28 14:39:42 +03:00
border-top: 1px #ddd solid;
}
2021-11-27 16:31:00 +03:00
.like_wrap {
display: flex;
}
.repost-icon {
2022-04-17 13:16:34 +03:00
background: url('/assets/packages/static/openvk/img/published.gif') no-repeat 0 0;
height: 12px;
2022-04-17 13:16:34 +03:00
margin: 2px 3px 0;
width: 11px;
}
2021-11-27 16:31:00 +03:00
.heart {
2022-04-17 13:16:34 +03:00
background: url('/assets/packages/static/openvk/img/like.gif') no-repeat 1px 0;
2021-11-27 16:31:00 +03:00
height: 10px;
2022-04-17 13:16:34 +03:00
margin: 2px 3px 0;
2021-11-27 16:31:00 +03:00
width: 11px;
float: none;
opacity: 0.4;
}
2021-11-28 14:39:42 +03:00
.likeCnt {
float: none;
}
2021-11-27 16:31:00 +03:00
#liked {
opacity: 1 !important;
}
2021-11-27 16:31:00 +03:00
.heart:hover {
opacity: 0.4 !important;
}
2022-04-17 13:16:34 +03:00
.post-share-button,
.post-like-button {
2021-11-27 16:31:00 +03:00
display: flex;
padding: 2px;
border-radius: 2px;
transition-duration: 0.2s;
}
2022-04-17 13:16:34 +03:00
.post-share-button:hover,
.post-like-button:hover {
2021-11-27 16:31:00 +03:00
background-color: rgb(240, 240, 240);
}
.post-author .delete {
float: right;
height: 16px;
width: 16px;
overflow: auto;
2022-04-17 13:16:34 +03:00
background: url("/assets/packages/static/openvk/img/input_clear.gif") no-repeat 0 0;
opacity: 0.1;
transition-duration: 0.3s;
}
.post-author .delete:hover {
opacity: 0.4;
}
.post-author .pin {
float: right;
height: 16px;
width: 16px;
overflow: auto;
2022-04-17 13:16:34 +03:00
background: url("/assets/packages/static/openvk/img/pin.png") no-repeat 0 0;
opacity: 0.1;
transition-duration: 0.3s;
}
.post-author .edit {
float: right;
height: 16px;
width: 16px;
overflow: auto;
background: url("/assets/packages/static/openvk/img/edit.png") no-repeat 0 0;
opacity: 0.1;
transition-duration: 0.3s;
}
.post-author .pin:hover {
opacity: 0.4;
}
2021-11-28 14:39:42 +03:00
.post-author .edit:hover {
opacity: 0.4;
}
2021-11-28 14:39:42 +03:00
.expand_button {
background-color: #eee;
width: 100%;
2022-04-17 13:16:34 +03:00
display: inline-block;
2021-11-28 14:39:42 +03:00
height: 30px;
line-height: 28px;
text-align: center;
}
.expand_button:hover {
background-color: #e5e5e5;
}
.commentsTextFieldWrap {
padding: 0 7px;
background-color: #eee;
border: 1px solid #ccc;
border-left: 0;
border-right: 0;
}