🐛 修复评论模块样式错误的情况

pull/33/merge
ruibaby 2018-09-04 18:22:55 +08:00
parent 33c349bbd1
commit 81075d9f42
1 changed files with 62 additions and 88 deletions

View File

@ -15,37 +15,31 @@
.native-comment { .native-comment {
padding: 10px; padding: 10px;
} }
.native-comment img{ .native-comment img{
display: inline-block;!important; display: inline-block;!important;
max-width: 100%;!important; max-width: 100%;!important;
height: auto;!important; height: auto;!important;
margin: auto;!important; margin: auto;!important;
} }
.native-wrap { .native-wrap {
border: 1px solid #f0f0f0; border: 1px solid #f0f0f0!important;
padding: 10px; padding: 10px!important;
position: relative; position: relative!important;
margin-left: 58px; margin-left: 58px!important;
} }
input, textarea, button { input, textarea, button {
outline: none; outline: none!important;
} }
.comment-submit,.native-list-one-img,.native-list-one-footer-time,.native-list-one-footer-reback,.native-info,.native-nav,.ua,.native-message{ .comment-submit,.native-list-one-img,.native-list-one-footer-time,.native-list-one-footer-reback,.native-info,.native-nav,.ua,.native-message{
-webkit-user-select:none; -webkit-user-select:none!important;
-moz-user-select:none; -moz-user-select:none!important;
-ms-user-select:none; -ms-user-select:none!important;
user-select:none; user-select:none!important;
} }
.comment-header { .comment-header {
width: 100%; width: 100%!important;
line-height: 1.8; line-height: 1.8!important;
} }
.comment-input-who, .comment-input-email, .comment-input-website { .comment-input-who, .comment-input-email, .comment-input-website {
width: 33.33% !important; width: 33.33% !important;
padding: 10px 0 !important; padding: 10px 0 !important;
@ -54,11 +48,9 @@
border: none !important; border: none !important;
border-bottom: 1px dashed #dedede !important; border-bottom: 1px dashed #dedede !important;
} }
.comment-input:focus { .comment-input:focus {
border-bottom: 1px dashed red !important; border-bottom: 1px dashed red !important;
} }
.comment-input-content { .comment-input-content {
width: 100% !important; width: 100% !important;
min-height: 120px !important; min-height: 120px !important;
@ -67,19 +59,16 @@
font-size: .9rem !important; font-size: .9rem !important;
padding: 10px 0!important; padding: 10px 0!important;
} }
.comment-OwO{ .comment-OwO{
text-align: left; text-align: left!important;
vertical-align: middle; vertical-align: middle!important;
padding-top: 10px; padding-top: 10px!important;
} }
.comment-footer { .comment-footer {
text-align: right; text-align: right!important;
vertical-align: middle; vertical-align: middle!important;
padding-top: 10px; padding-top: 10px!important;
} }
.comment-submit { .comment-submit {
border-radius: 0 !important; border-radius: 0 !important;
vertical-align: middle!important; vertical-align: middle!important;
@ -91,23 +80,20 @@
color: #313131!important; color: #313131!important;
outline: none!important; outline: none!important;
line-height: normal!important; line-height: normal!important;
transition: all .3s ease-in-out; transition: all .3s ease-in-out!important;
} }
.comment-submit:hover{ .comment-submit:hover{
background-color: #fff !important; background-color: #fff !important;
border-radius: 1.9rem !important; border-radius: 1.9rem !important;
border-color: #859cff !important; border-color: #859cff !important;
color: #859cff !important; color: #859cff !important;
} }
.native-list { .native-list {
list-style: none!important; list-style: none!important;
margin-top: 0!important; margin-top: 0!important;
margin-bottom: 0!important; margin-bottom: 0!important;
padding: 0!important; padding: 0!important;
} }
.native-list .native-list-one { .native-list .native-list-one {
padding-top: 10px!important; padding-top: 10px!important;
position: relative!important; position: relative!important;
@ -115,7 +101,6 @@
transition: all .3s ease-in-out!important; transition: all .3s ease-in-out!important;
margin: 0 !important; margin: 0 !important;
} }
.native-list .native-list-one .native-list-one-img { .native-list .native-list-one .native-list-one-img {
width: 2.5rem!important; width: 2.5rem!important;
height: 2.5rem!important; height: 2.5rem!important;
@ -128,91 +113,80 @@
transition: transform 0.4s ease-out!important; transition: transform 0.4s ease-out!important;
-moz-transition: -moz-transform 0.4s ease-out!important; -moz-transition: -moz-transform 0.4s ease-out!important;
} }
.native-list-one-img:hover{ .native-list-one-img:hover{
transform: rotate(360deg); transform: rotate(360deg)!important;
} }
.native-list .native-list-one section { .native-list .native-list-one section {
overflow: hidden; overflow: hidden!important;
padding-bottom: 1rem; padding-bottom: 1rem!important;
border-bottom: 1px dashed #f5f5f5; border-bottom: 1px dashed #f5f5f5!important;
} }
.native-list .native-list-one section .native-list-one-head { .native-list .native-list-one section .native-list-one-head {
line-height: 1.5; line-height: 1.5!important;
margin-bottom: .5rem; margin-bottom: .5rem!important;
margin-top: 0; margin-top: 0!important;
} }
.native-list-one-head-name { .native-list-one-head-name {
font-size: .875rem; font-size: .875rem!important;
font-weight: 700; font-weight: 700!important;
cursor: pointer; cursor: pointer!important;
text-decoration: none; text-decoration: none!important;
color: #555; color: #555!important;
} }
.native-list-one-head-admin{ .native-list-one-head-admin{
padding: .1em 0.2em; padding: .1em 0.2em!important;
border-radius: 2px; border-radius: 2px!important;
font-size: 70%; font-size: 70%!important;
font-weight: 700; font-weight: 700!important;
background-color: #87ceeb; background-color: #87ceeb!important;
color: #fff; color: #fff!important;
display: inline; display: inline!important;
} }
.ua { .ua {
display: inline-block; display: inline-block;
padding: .2rem .5rem; padding: .2rem .5rem!important;
background: #ededed; background: #ededed!important;
color: #b3b1b1; color: #b3b1b1!important;
font-size: .75rem; font-size: .75rem!important;
border-radius: .2rem; border-radius: .2rem!important;
margin-right: .3rem; margin-right: .3rem!important;
} }
.native-list-one-content p { .native-list-one-content p {
font-size: 14px; font-size: 14px!important;
letter-spacing: 0; letter-spacing: 0!important;
margin: 0 0 1pc; margin: 0!important;
font-weight: 400; font-weight: 400!important;
} }
.native-list-one-footer-time { .native-list-one-footer-time {
color: #b3b3b3; color: #b3b3b3!important;
font-size: .75rem; font-size: .75rem!important;
margin-right: .875rem; margin-right: .875rem!important;
} }
.native-list-one-footer-reback { .native-list-one-footer-reback {
font-size: .8125rem; font-size: .8125rem!important;
color: #ef2f11; color: #ef2f11!important;
cursor: pointer; cursor: pointer!important;
} }
.native-info{ .native-info{
padding-top: 10px; padding-top: 10px!important;
font-size: 12px; font-size: 12px!important;
color: #555; color: #555!important;
} }
.comment-avatar{ .comment-avatar{
position: relative; position: relative!important;
float: left; float: left!important;
} }
.comment-avatar img{ .comment-avatar img{
border-radius: 100%; border-radius: 100%!important;
-webkit-transition: 0.4s; -webkit-transition: 0.4s!important;
-webkit-transition: -webkit-transform 0.4s ease-out; -webkit-transition: -webkit-transform 0.4s ease-out;
transition: transform 0.4s ease-out; transition: transform 0.4s ease-out;
-moz-transition: -moz-transform 0.4s ease-out; -moz-transition: -moz-transform 0.4s ease-out;
cursor: pointer; cursor: pointer;
} }
.comment-avatar img:hover{ .comment-avatar img:hover{
transform: rotate(360deg); transform: rotate(360deg)!important;
} }
.native-nav{ .native-nav{
padding: 10px 0!important;; padding: 10px 0!important;;
} }