nodebb-theme-lavender-seo
Version:
SEO Smart Lavender Theme. Compatible with nodebb v0.5.7
571 lines (472 loc) • 8.53 kB
text/less
@import "./variables";
@import "./whiteplum";
@import "./keyframes";
body {
background:#FAFAFA;
}
.loading-bar {
width: 0%;
position: absolute;
left: 0px;
height: 2px;
background: @brand-primary;
z-index: 1;
-webkit-transition: width 0.2s ease-in;
-moz-transition: width 0.2s ease-in;
-o-transition: width 0.2s ease-in;
-ms-transition: width 0.2s ease-in;
transition: width 0.2s ease-in;
}
.admin {
background: white;
.panel[data-widget] {
border-top: 0;
box-shadow: 0px 0px 1px #555;
}
}
.header {
#user_label {
>a {
padding-top:13px;
padding-bottom:13px;
}
img {
width:24px;
height:24px;
border-radius: 50%;
}
}
#notif-list, #chat-list {
li {
&.unread {
background-color: @brand-warning;
}
}
}
}
.chats-list {
li {
&.unread {
background-color: @brand-warning;
}
}
}
.header-topic-title {
padding-top:5px;
span {
height:25px;
}
}
.home {
padding-left: 8px;
padding-right: 8px;
> div {
padding-left: 0px;
padding-right: 0px;
}
@media screen and (min-width: @screen-md-min) {
.col-md-3 {
width: 24.5%; // firefox rounds up, webkit runs down. go figure...
}
}
@media screen and (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.col-sm-6 {
width: 48.5%;
}
}
h4 {
white-space: normal;
text-overflow: initial;
}
.forum-stats {
padding-top:0px;
}
.category-item {
margin-bottom: 15px;
}
}
.category-item {
padding-left: 8px ;
padding-right: 8px ;
.category-icon {
-webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}
.category-header {
text-align: center;
padding: 30px;
min-height:115px;
.badge {
background: none;
position: absolute;
top: 90px;
right: 10px;
span, i {
opacity: 0.8;
}
}
}
.category-box {
position: relative;
background: #fff;
@media (min-width: @screen-md-min) {
}
min-height: 30px;
margin-top: -10px;
.category-info {
background: #f7f7f7;
padding:10px;
border-bottom: 1px solid #e9e9e9;
h4 {
font-weight: bold;
margin-top: 0px;
margin-bottom: 5px;
}
}
.post-preview {
padding:10px;
}
}
.category-box:after, .category-box:before {
bottom: 100%;
left: 10%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.category-box:after {
border-color: rgba(140, 113, 242, 0);
border-bottom-color: #f7f7f7;
border-width: 10px;
margin-left: -10px;
}
.category-box:before {
border-color: rgba(122, 98, 211, 0);
border-width: 12px;
margin-left: -12px;
}
.post-preview {
padding-top: 10px;
border-bottom: 1px dashed #dedede;
word-break: break-word;
&:last-child {
border-bottom: none;
}
img {
display: block;
max-width: 100%;
height: auto;
}
.user-img {
width: 24px;
height: 24px;
margin-right: 5px;
border-radius: 50%;
}
.post-preview-content {
max-height: 250px;
overflow: hidden;
position: relative;
p {
font-size:14px;
}
blockquote {
border-left-width: 3px;
}
hr {
margin-bottom: 10px;
margin-top: 5px;
}
.content {
margin-left: 30px;
}
}
.footer {
opacity: 0.8;
font-size: 12px
}
}
}
.category .recent-replies ul li span {
margin-bottom: 20px;
}
.breadcrumb {
background-color: white;
}
.profile-image {
width: 52px;
height: 52px;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border-radius: 100%;
&.small {
width: 26px;
height: 26px;
}
}
.account {
.user-profile-picture {
border-radius: 50%;
}
}
.category {
ul {
li {
padding-bottom: 0;
}
}
.category-stat {
text-align: center;
strong {
font-size: 25px;
}
small {
color: #aaa;
}
&.replies {
line-height: 10px;
padding-top: 8px;
.no-replies {
padding-top: 13px;
line-height: 15px;
}
}
}
.category-item {
background-color:#fff;
-webkit-box-shadow: inset 0px 0px 2px 2px #ffffff;
box-shadow: inset 0px 0px 2px 2px #ffffff;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.category-body {
padding: 10px;
padding-bottom: 5px;
margin-bottom: 0;
}
.category-profile-pic {
float: left;
margin-left: 15px;
margin-right: 15px;
}
.category-text {
font-size: 18px;
color: #666;
overflow: hidden;
}
}
.subcategories {
.category-item {
margin-bottom: 20px;
}
}
.topic {
> ul {
margin-bottom: 0;
> li {
padding-bottom: 0;
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
}
}
.post-signature {
font-size: 12px;
border-top: 1px dashed #dedede;
padding: 1px;
padding-top: 5px;
display: inline-block;
font-style: italic;
}
.topic-item {
position: relative;
.post-tools {
opacity: 0;
-webkit-transition: opacity 0.25s ease-in;
-moz-transition: opacity 0.25s ease-in;
-o-transition: opacity 0.25s ease-in;
-ms-transition: opacity 0.25s ease-in;
transition: opacity 0.25s ease-in;
button {
color: @gray-dark;
}
}
&:hover {
.post-tools {
opacity: 1;
}
}
.post-content {
ul, ol {
margin-bottom: 10px;
}
}
}
.post-bar {
margin-top: 15px;
margin-bottom: 15px;
padding: 10px;
border-left: 2px solid @brand-primary;
}
.post-bar, .post-row {
background-color:#fff;
-webkit-box-shadow: inset 0px 0px 2px 2px #ffffff;
box-shadow: inset 0px 0px 2px 2px #ffffff;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.topic-body {
padding: 10px;
padding-bottom: 5px;
}
.topic-profile-pic {
width: 70px;
float: left;
margin-left: 15px;
margin-right: 15px;
.username {
text-overflow: ellipsis;
display: block;
overflow: hidden;
font-size: 80%;
}
.group-label {
margin-top: 5px;
word-wrap: normal;
white-space: normal;
}
}
.topic-text {
font-size: 18px;
color: #666;
overflow: hidden;
word-wrap: break-word;
}
.posts {
> li {
border-left: 2px solid @brand-primary;
.topic-title {
margin-top: 0px;
margin-bottom: 5px;
font-weight: 500;
color: @brand-primary;
display: none;
}
}
> li[data-index="0"] {
.post-content {
min-height: 60px;
}
border-left: none;
.topic-title {
display: block;
}
}
}
.upvote, .downvote {
color: @gray-light;
width: 20px;
height: 20px;
line-height: 18px;
text-align: center;
display: inline-block;
}
.upvote.btn-primary, .downvote.btn-primary {
color: @brand-primary;
}
.upvote.btn-primary, .downvote.btn-primary {
line-height: 18px;
}
.menu-icon {
margin-right: 5px;
}
.dropdown {
display: inline-block;
}
.topic-footer {
border-top: 1px solid #ddd;
.pull-right {
text-align: right;
padding: 5px 10px;
}
.row {
padding: 10px 10px 10px 20px;
}
}
.favourite, .follow {
cursor: pointer;
}
.favourite.btn-warning, .follow.btn-success {
background: white ;
color: #333;
&:hover {
background: @brand-primary ;
}
}
}
.taskbar {
li > a {
padding-top:10px;
padding-bottom:10px;
}
}
.composer {
.instructions {
line-height: 25px;
}
}
.thread_active_users a[data-uid] {
img {
position: relative;
z-index: 1;
border-radius: 50%;
}
&::after {
z-index: 0;
margin-left: -24px;
-webkit-transition: opacity 250ms ease, margin-left 250ms ease;
-moz-transition: opacity 250ms ease, margin-left 250ms ease;
-ms-transition: opacity 250ms ease, margin-left 250ms ease;
-o-transition: opacity 250ms ease, margin-left 250ms ease;
transition: opacity 250ms ease, margin-left 250ms ease;
}
&.replying::after {
margin-left: 0px;
.animation(topic-reply-pulse 2s ease-in infinite);
}
}
.postMenu, .upvote.btn-primary, .downvote.btn-primary {
background: transparent;
width: 20px;
height: 20px;
text-align: center;
display: inline-block;
line-height: 20px;
cursor: pointer;
}
.facebook-share, .twitter-share, .google-share {
background: transparent;
}
.facebook-share .menu-icon {
background: #3b5998;
}
.twitter-share .menu-icon {
background: #2fc2ef;
}
.google-share .menu-icon {
background: #df5138;
}
.facebook-share .menu-icon, .twitter-share .menu-icon, .google-share .menu-icon {
color:white;
border-radius: 100%;
}
.category-item {
.select {
line-height:55px;
}
}