Authored by unknown

guang detail css @review by 徐祁

... ... @@ -44,489 +44,490 @@
.related-reco .recos {
width: 850px;
}
}
.detail-title {
font-size: 28px;
line-height: 64px;
border-bottom: 1px dotted #c1c1c1;
word-wrap:break-word;
}
.detail-title {
font-size: 28px;
line-height: 64px;
border-bottom: 1px dotted #c1c1c1;
word-wrap:break-word;
}
.article-author {
float: left;
line-height: 64px;
.author-avatar {
clear: both;
width: 38px;
height: 64px;
img {
.article-author {
float: left;
line-height: 64px;
.author-avatar {
clear: both;
width: 38px;
height: 38px;
border-radius: 50%;
vertical-align: middle;
height: 64px;
img {
width: 38px;
height: 38px;
border-radius: 50%;
vertical-align: middle;
}
}
}
}
.author-info {
float: left;
margin-left: 10px;
font-size: 14px;
max-width: 447px;
.author-name {
display: block;
height: 64px;
line-height: 64px;
cursor: pointer;
color: #000;
.author-info {
float: left;
margin-left: 10px;
font-size: 14px;
max-width: 447px;
.author-name {
display: block;
height: 64px;
line-height: 64px;
cursor: pointer;
color: #000;
&:hover {
color: #cc3300;
&:hover {
color: #cc3300;
}
}
.author-introduce {
color: #999;
}
}
.author-introduce {
color: #999;
}
}
.article-status {
float: right;
height: 64px;
line-height: 64px;
color: #999;
font-size: 13px;
.article-click {
margin: 0 25px;
}
.article-comment {
color: #cc3300;
cursor: pointer;
.article-status {
float: right;
height: 64px;
line-height: 64px;
color: #999;
font-size: 13px;
.article-click {
margin: 0 25px;
}
.article-comment {
color: #cc3300;
cursor: pointer;
}
}
}
.article-main {
img {
display: block;
max-width: 100%;
margin:0 auto;
}
.article-text {
margin: 2px 0 20px;
line-height: 28px;
font-size: 14px;
}
.article-small-pic {
text-align: center;
font-size: 0;
.article-main {
img {
display: inline-block;
*display: inline;
*zoom: 1;
max-width: 412px;
&:first-child {
margin: 0 6px 0 0;
display: block;
max-width: 100%;
margin:0 auto;
}
.article-text {
margin: 2px 0 20px;
line-height: 28px;
font-size: 14px;
}
.article-small-pic {
text-align: center;
font-size: 0;
img {
display: inline-block;
*display: inline;
*zoom: 1;
max-width: 412px;
&:first-child {
margin: 0 6px 0 0;
}
}
}
.block:first-child {
margin-top: 10px;
}
}
.block:first-child {
margin-top: 10px;
}
}
/*user handle*/
.user-handle {
margin: 30px 0 0 0;
text-align: center;
ul {
display: inline-block;
li {
float: left;
margin: 0 15px;
cursor: pointer;
a {
position: relative;
display: block;
padding: 0 10px;
height: 36px;
line-height: 36px;
color: #535353;
font-size: 0;
background: #efefef;
text-align: left;
i, span{
@include inline-block;
font-style: normal;
font-size: 14px;
/*user handle*/
.user-handle {
margin: 30px 0 0 0;
text-align: center;
ul {
display: inline-block;
li {
float: left;
margin: 0 15px;
cursor: pointer;
a {
position: relative;
display: block;
padding: 0 10px;
height: 36px;
line-height: 36px;
color: #535353;
font-size: 0;
background: #efefef;
text-align: left;
i, span{
@include inline-block;
font-style: normal;
font-size: 14px;
}
i {
margin: 0 5px 0 0;
@include opacity(0.5);
font-size: 18px;
}
.cancel-collect {
display: none;
}
}
}
.like-status.liked i,
.like-status.hover i{
@include opacity(1);
}
.like-statis.hover .like-num {
color: #000;
}
.sort-collect a {
i {
margin: 0 5px 0 0;
@include opacity(0.5);
font-size: 18px;
width: 21px;
}
.cancel-collect {
}
.sort-collect.collected a {
i {
@include opacity(1);
}
span {
display: none;
}
.cancel-collect {
display: inline;
}
}
}
.like-status.liked i,
.like-status.hover i{
@include opacity(1);
}
.like-statis.hover .like-num {
color: #000;
}
.sort-collect a {
i {
width: 21px;
}
}
.sort-collect.collected a {
i {
.sort-collect.hover i {
@include opacity(1);
}
span {
display: none;
}
.cancel-collect {
display: inline;
.sort-collect.hover span {
color: #000;
}
}
.sort-collect.hover i {
@include opacity(1);
}
.article-bottom-info {
margin: 44px 0 0 0;
padding: 0 0 10px;
border-bottom: 1px dotted #c1c1c1;
}
.article-tag {
float: left;
width: 588px;
.tag-icon {
float: left;
margin: 0 12px 0 0;
font-size: 20px;
font-style: normal;
}
.sort-collect.hover span {
color: #000;
ul {
float: left;
max-width: 555px;
li {
float: left;
margin: 0 10px 10px 0;
a {
display: block;
padding: 0 15px;
height: 20px;
line-height: 20px;
font-size: 12px;
color: #fff;
font-weight: bold;
background: #c1c1c1;
}
&:hover a {
background:#333;
}
}
li:first-child {
margin-left: 0;
}
}
}
}
.article-bottom-info {
margin: 44px 0 0 0;
padding: 0 0 10px;
border-bottom: 1px dotted #c1c1c1;
}
.article-tag {
float: left;
width: 588px;
.tag-icon {
float: left;
margin: 0 12px 0 0;
font-size: 20px;
font-style: normal;
.article-share {
float: right;
.share-to {
position: relative;
font-size: 12px;
}
}
ul {
float: left;
max-width: 555px;
.detail-related-posts {
margin: 14px 0 0 0;
li {
float: left;
margin: 0 10px 10px 0;
width: 264px;
margin-left: 19px;
a {
display: block;
padding: 0 15px;
height: 20px;
line-height: 20px;
font-size: 12px;
color: #fff;
font-weight: bold;
background: #c1c1c1;
}
.bg-img {
display: block;
width: 100%;
height: 173px;
line-height: 173px;
text-align: center;
font-size: 0;
&:hover a {
background:#333;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.post-title {
margin: 8px 0 0 0;
h2 {
line-height: 16px;
font-size: 14px;
color: #000;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
.post-title:hover h2 {
color: #cc3300 !important;
}
}
li:first-child {
margin-left: 0;
}
}
}
.comment-area {
margin: 58px 0 0 0;
.article-share {
float: right;
.share-to {
position: relative;
font-size: 12px;
.comment-publish {
height: 48px;
}
}
}
.detail-related-posts {
margin: 14px 0 0 0;
li {
float: left;
width: 264px;
margin-left: 19px;
a {
display: block;
}
.bg-img {
.comment-textarea {
textarea {
display: block;
width: 100%;
height: 173px;
line-height: 173px;
text-align: center;
font-size: 0;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.post-title {
margin: 8px 0 0 0;
h2 {
line-height: 16px;
font-size: 14px;
color: #000;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
.post-title:hover h2 {
color: #cc3300 !important;
width: 812px;
height: 86px;
padding: 12px 12px;
resize: none;
outline: none;
font-size: 14px;
line-height: 18px;
color: #535353;
font-family: "arial","helvetica","微软雅黑";
border: 1px solid #e7e7e7;
}
}
li:first-child {
margin-left: 0;
}
}
.comment-area {
margin: 58px 0 0 0;
.comment-publish {
.word-count-tip {
display: inline-block;
height: 48px;
}
}
line-height: 48px;
.comment-textarea {
textarea {
display: block;
width: 812px;
height: 86px;
padding: 12px 12px;
resize: none;
outline: none;
font-size: 14px;
line-height: 18px;
color: #535353;
font-family: "arial","helvetica","微软雅黑";
border: 1px solid #e7e7e7;
}
}
.word-count-tip {
display: inline-block;
height: 48px;
line-height: 48px;
font-size: 12px;
color: #c8c8c8;
font-size: 12px;
color: #c8c8c8;
.exceed-count {
color: #f00;
.exceed-count {
color: #f00;
}
}
}
.publish-btn {
margin: 10px 0 0 0;
float: right;
width: 90px;
height: 33px;
line-height: 33px;
text-align: center;
color: #fff;
font-size: 14px;
background: #cb3a3e;
cursor: pointer;
.publish-btn {
margin: 10px 0 0 0;
float: right;
width: 90px;
height: 33px;
line-height: 33px;
text-align: center;
color: #fff;
font-size: 14px;
background: #cb3a3e;
cursor: pointer;
&:hover {
background: #c03234;
}
&:hover {
background: #c03234;
}
&.disable {
background-color: #e79c9e;
&.disable {
background-color: #e79c9e;
}
}
}
.comments-wrap{
h4{
position: relative;
line-height: 32px;
border-bottom: 1px solid #e7e7e7;
.comment-num{
margin-right: 5px;
color: #c11e00;
.comments-wrap{
h4{
position: relative;
line-height: 32px;
border-bottom: 1px solid #e7e7e7;
.comment-num{
margin-right: 5px;
color: #c11e00;
}
i{
position: absolute;
width: 13px;
height: 7px;
left: 30px;
bottom: -7px;
background: image-url('guang/detail/comment-icon.png') no-repeat;
}
}
i{
position: absolute;
width: 13px;
height: 7px;
left: 30px;
bottom: -7px;
background: image-url('guang/detail/comment-icon.png') no-repeat;
.comment-pager {
float: right;
margin: 20px 0;
}
}
.comment-pager {
float: right;
.comments-empty {
display: none;
color: #ccc;
margin: 20px 0;
font-size: 12px;
line-height: 12px;
text-align: center;
}
}
.comments-empty {
display: none;
color: #ccc;
margin: 20px 0;
font-size: 12px;
line-height: 12px;
text-align: center;
}
.commnets-resultwrapper {
display: none;
}
.commnets-resultwrapper {
display: none;
}
.comments-list{
li{
margin: 14px 0 0;
padding: 0 0 15px;
border-bottom: 1px dotted #e7e7e7;
.avatar{
float: left;
width: 40px;
height: 40px;
overflow: hidden;
img{
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.comment-info{
float: left;
width: 774px;
margin: 0 0 0 16px;
.comment-user-name{
color: #c11e00;
font-size: 15px;
line-height: 15px;
}
.comment-content{
margin-top: 10px;
line-height: 16px;
font-size: 12px;
word-wrap:break-word;
.comments-list{
li{
margin: 14px 0 0;
padding: 0 0 15px;
border-bottom: 1px dotted #e7e7e7;
.avatar{
float: left;
width: 40px;
height: 40px;
overflow: hidden;
img{
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.comment-time{
margin: 10px 0 0 0;
color: #c8c8c8;
font-size: 12px;
line-height: 12px;
clear: both;
.comment-info{
float: left;
width: 774px;
margin: 0 0 0 16px;
.comment-user-name{
color: #c11e00;
font-size: 15px;
line-height: 15px;
}
.comment-content{
margin-top: 10px;
line-height: 16px;
font-size: 12px;
word-wrap:break-word;
}
.comment-time{
margin: 10px 0 0 0;
color: #c8c8c8;
font-size: 12px;
line-height: 12px;
clear: both;
}
}
}
}
}
}
.brand {
margin-right: 22px;
margin-bottom: 20px;
float: left;
.thumb {
display: table-cell;
border: 1px solid #f5f5f5;
height: 120px;
width: 120px;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
.brand {
margin-right: 22px;
margin-bottom: 20px;
float: left;
img {
display: block;
max-width: 120px;
max-height: 120px;
margin: 0 auto;
.thumb {
display: table-cell;
border: 1px solid #f5f5f5;
height: 120px;
width: 120px;
box-sizing: border-box;
text-align: center;
vertical-align: middle;
img {
display: block;
max-width: 120px;
max-height: 120px;
margin: 0 auto;
}
}
.brand-name {
width: 120px;
font-size: 13px;
line-height: 20px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #333;
}
}
.brand-name {
width: 120px;
font-size: 13px;
line-height: 20px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #333;
}
}
$commodityWidth: 192px;
$commodityWidth: 192px;
.good-info {
width: $commodityWidth;
height: 325px;
margin-right: 20px;
margin-bottom: 20px;
}
.good-info {
width: $commodityWidth;
height: 325px;
margin-right: 20px;
margin-bottom: 20px;
}
.share-to .share-a {
width: 16px;
height: 16px;
display: inline-block;
vertical-align: top;
margin: 0 2px 0 3px;
cursor: pointer;
}
.share-to .share-a {
width: 16px;
height: 16px;
display: inline-block;
vertical-align: top;
margin: 0 2px 0 3px;
cursor: pointer;
}
.share-to .share-sina {
background: image-url('guang/detail/icon-share.png') no-repeat 0 0;
}
.share-to .share-sina {
background: image-url('guang/detail/icon-share.png') no-repeat 0 0;
}
.share-to .share-weixin {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -96px;
}
.share-to .share-weixin {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -96px;
}
.share-to .share-tencent {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -16px;
}
.share-to .share-tencent {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -16px;
}
.share-to .share-renren {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -32px;
}
.share-to .share-renren {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -32px;
}
.share-to .share-qzone {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -48px;
}
.share-to .share-qzone {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -48px;
}
.share-to .share-qq {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -64px;
}
.share-to .share-qq {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -64px;
}
.share-to .share-douban {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -80px;
}
.share-to .share-douban {
background: image-url('guang/detail/icon-share.png') no-repeat 0 -80px;
/* weixin share start */
.shareWeixin{width:282px;height:302px;position:absolute;padding-top:9px;text-align: center;font-family: Microsoft Yahei, Arial, Verdana;top: 22px;right: -3px;display:none;z-index:2;}
.shareWeixin em, .shareWeixin em i{width: 0;height: 0;font-size: 0;position: absolute;border-width:0 10px 9px;border-style:dashed dashed solid;}
.shareWeixin em{border-color:transparent transparent #d6d6d6;top: 0px;left: 50%;margin-left: -10px;}
.shareWeixin em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top: 1px;left: -10px;}
.shareWeixin .con{width:280px;height:300px;overflow:hidden;background-color: #FFFFFF;border:1px solid #d6d6d6;box-shadow: 0px 2px 4px #d1d1d1;position:relative;}
.shareWeixin h2{height:46px;line-height: 46px;background-color: #e8e8e8;color:#000000;font-size: 18px;display: block;}
.shareWeixin p.pic, .shareWeixin p.pic img{width:168px;height:168px;}
.shareWeixin p.pic{overflow:hidden;margin:16px auto;}
.shareWeixin p.w{font-size: 13px;color:#9f9f9f;line-height: 20px;}
.shareWeixin a.close{width:45px;height:45px;line-height:45px;overflow:hidden;position: absolute;top: 9px;right: 0;font-size: 16px;color: #999999;}
/* weixin share end */
}
/* weixin share start */
.shareWeixin{width:282px;height:302px;position:absolute;padding-top:9px;text-align: center;font-family: Microsoft Yahei, Arial, Verdana;top: 22px;right: -3px;display:none;z-index:2;}
.shareWeixin em, .shareWeixin em i{width: 0;height: 0;font-size: 0;position: absolute;border-width:0 10px 9px;border-style:dashed dashed solid;}
.shareWeixin em{border-color:transparent transparent #d6d6d6;top: 0px;left: 50%;margin-left: -10px;}
.shareWeixin em i{border-color:transparent transparent #e8e8e8;overflow:hidden;top: 1px;left: -10px;}
.shareWeixin .con{width:280px;height:300px;overflow:hidden;background-color: #FFFFFF;border:1px solid #d6d6d6;box-shadow: 0px 2px 4px #d1d1d1;position:relative;}
.shareWeixin h2{height:46px;line-height: 46px;background-color: #e8e8e8;color:#000000;font-size: 18px;display: block;}
.shareWeixin p.pic, .shareWeixin p.pic img{width:168px;height:168px;}
.shareWeixin p.pic{overflow:hidden;margin:16px auto;}
.shareWeixin p.w{font-size: 13px;color:#9f9f9f;line-height: 20px;}
.shareWeixin a.close{width:45px;height:45px;line-height:45px;overflow:hidden;position: absolute;top: 9px;right: 0;font-size: 16px;color: #999999;}
/* weixin share end */
\ No newline at end of file
... ...