You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/public/less/generics.less

78 lines
1.1 KiB
Plaintext

.category-list {
padding: 0;
li {
.inline-block;
.pointer;
padding: 0.5em;
margin: 0.25em;
.border-radius(3px);
&.disabled {
9 years ago
background-color: #888!important;
.opacity(0.5);
}
}
}
.user-list {
padding-left: 2rem;
padding-top: 1rem;
li {
.pointer;
display: inline-block;
list-style-type: none;
padding: 0.5rem 1rem;
&:hover {
background: #eee;
}
9 years ago
img, .user-icon {
.user-icon-style(36px, 1.8rem);
float: left;
9 years ago
margin-right: 1rem;
}
span {
vertical-align: middle;
display: inline-block;
}
}
}
9 years ago
.user-icon {
display: inline-block;
text-align: center;
color: @gray-lighter;
font-weight: normal;
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
9 years ago
.avatar {
/* Contains the user icon class as a mixin, so there's no need to include that in the template */
.user-icon;
&.avatar-sm {
width: 24px;
height: 24px;
.user-icon-style(24px, 1.5rem);
}
&.avatar-lg {
width: 128px;
height: 128px;
.user-icon-style(128px, 7.5rem);
}
&.avatar-rounded {
border-radius: 50%;
}
9 years ago
}