UNPKG

nodebb-theme-ricequant

Version:
378 lines (335 loc) 7.91 kB
.topic-title { font-family: @font-family-title; font-weight: normal; } .teaser-pic { width:20px; height:20px; border-radius:10px; margin-right:8px; } .category { margin-top: 20px; min-height: calc(~"100vh - 200px"); .span9 { margin-bottom: 50px; } ul { li { list-style: none; &.deleted { -moz-opacity: 0.30; opacity: 0.30; } } &:last-child li { border-bottom: 0; } li:last-child .topic-row { border-bottom:0; } } ul { padding-left: 0px; } .meta { font-size: 12px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .unread { .topic-title { //font-weight: bold; } } .header.category-tools{ border-bottom: solid 1px #eee; margin-top: 8px; .thread-sort{ margin-bottom: 4px; li{ display: inline-block; } a{ color: #000; padding: 16px 15px; margin-right: 25px; &.active{ color: #69f; border-bottom: solid 1px #69f; } &:hover{ color: #69f; } } } } .topic-row { @media (max-width: @screen-xs-max) { padding:10px 0; } padding:28px 0; border-bottom:solid 1px #f0f0f0; small { vertical-align: 2px; font-size: @font-size-lightsmall; color:#999; display: block; padding-left: 75px; @media (max-width: @screen-xs-max) { padding-left: 65px; .time-ago{ margin-right: 10px; } .topic-replied-name{ .teaser-pic{ display: none; } } .topic-nums{ display: none; } .topic-clones{ margin-left: -10px; .topic-backtest-clone-times{ margin-top: 10px; width: 50px; height: 30px; line-height: 32px; font-size: 12px; background: none; padding-left: 8px; } a:first-child{ margin-left: -10px; } a.share-item{ margin-left: 10px; } .rqicon{ font-size: 18px; } } } } h3 { padding: 0; margin: 0; margin-top: 4px; line-height: 25px; overflow: hidden; a { color:#666; &:hover { color:#69f; } } } .user-img { @media (max-width: @screen-xs-max) { width: 40px; height: 40px; margin-top: 5px; } width: 50px; height: 50px; border-radius:25px; margin-right:25px; } } .topic-info { @media (max-width: @screen-xs-max) { width:15%; } @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { width:15%; } @media (min-width: @screen-md-min) and (max-width: @screen-md-max) { width:15%; } @media (min-width: @screen-lg-min) and (max-width: @screen-lg-max) { width:35%; } @media (min-width: @screen-xg-min) { width:65%; } max-width:600px; & > div { float:right; width:15%; height:50px; text-align:center; &:first-child { margin:7px 0; height:36px; min-width:150px; border-left: solid 3px #ccc; text-align: right; margin-left: 5%; font-size:12px; p { margin:0; line-height:36px; } } } .human-readable-number { font-size:@font-size-large; height:34px; line-height:34px; color:#666; margin-bottom:0; & ~ span { font-size:@font-size-lightsmall; line-height:16px; } } } .latest-post { float: right; padding-top: 2px; margin-right: 0px; width: 40%; .pull-right { width: 100%; height: 50px; line-height: 16px; margin-left: 1px; padding: 2px 5px 5px 20px; border-left: 1px solid #bbb; img { display: block; float: left; } p { display: block; float: left; width: 70%; margin-left: 10px; overflow: hidden; max-height: 33px; margin-bottom: 0px; } } } small .topic-replied-name{ font-size: @font-size-lightsmall; color: #999; margin: 0 4px 0 0; } } .category-item { .select { line-height: 50px; font-size: 20px; } .topic-nums{ margin-left: 27px; .human-readable-number:not(:last-child){ &:after{ content: "."; position: relative; color: #333; top: -3px; margin-left: 8px; margin-right: 5px; } } .rqicon{ margin-right: 10px; } } .topic-clones{ line-height: 40px; height: 40px; display: inline-block; position: relative; margin-left: 15px; top: 10px; .rqicon{ font-size: 22px; } .share-item{ float: right; margin-top: 5px; margin-left: 15px; } .topic-backtest-clone-times { margin-top: 4px; margin-left: 10px; display: block; float: right; color: #69f; width: 60px; line-height: 40px; background-image: url('http://cdn.ricequant.com/assets/img/clone-times-lg.svg'); background-size: cover; text-align: center; } } } h4.category-title { width: 100%; font-weight: 700; line-height: 21px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; margin: 0; } .category-header { width: 100%; height: 110px; text-align: center; margin: 0; padding-top:25px; .pointer; margin-bottom: 10px; overflow:hidden; &:hover { filter: brightness(115%); -webkit-filter: brightness(115%); } .category-box { height:90px; .post-preview { padding-left:10px; padding-right:10px; text-align:left; img { width:60px; height:60px; padding-right:5px; } p { overflow: hidden; text-overflow:ellipsis; height:60px; } } } } .category-header-image-auto { -webkit-background-size: auto!important; -moz-background-size: auto!important; -o-background-size: auto!important; background-size: auto!important; background-position: 0% 0% !important; } .category-header-image-cover { -webkit-background-size: cover!important; -moz-background-size: cover!important; -o-background-size: cover!important; background-size: cover!important; background-position: center!important; } .category-header-image-contain { -webkit-background-size: contain!important; -moz-background-size: contain!important; -o-background-size: contain!important; background-size: contain!important; background-position: center!important; }