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

184 lines
2.9 KiB
Plaintext

9 years ago
.define-if-not-set() {
@gray-base: #000;
@gray-darker: lighten(@gray-base, 13.5%); // #222
@gray-dark: lighten(@gray-base, 20%); // #333
@gray: lighten(@gray-base, 33.5%); // #555
@gray-light: lighten(@gray-base, 46.7%); // #777
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
@brand-primary: darken(#428bca, 6.5%); // #337ab7
@brand-success: #5cb85c;
@brand-info: #5bc0de;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
}
.define-if-not-set();
9 years ago
#move_thread_modal .category-list {
9 years ago
height: 500px;
overflow-y: auto;
overflow-x: hidden;
9 years ago
}
9 years ago
.topic-watch-dropdown {
.help-text {
margin-left: 20px;
}
}
9 years ago
.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
.avatar {
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;
vertical-align: middle;
overflow: hidden; /* stops alt text from overflowing past boundaries if image does not load */
white-space: nowrap;
9 years ago
&: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-xs {
width: 16px;
height: 16px;
.user-icon-style(16px, 1rem);
}
9 years ago
&.avatar-sm {
width: 24px;
height: 24px;
.user-icon-style(24px, 1.5rem);
}
&.avatar-sm2x {
width: 48px;
height: 48px;
.user-icon-style(48px, 1.5rem);
}
&.avatar-md {
width: 32px;
height: 32px;
.user-icon-style(32px, 1.5rem);
}
&.avatar-lg {
width: 64px;
height: 64px;
.user-icon-style(64px, 4rem);
}
&.avatar-xl {
width: 128px;
height: 128px;
.user-icon-style(128px, 7.5rem);
}
&.avatar-rounded {
border-radius: 50%;
}
}
.ban-modal {
.form-inline, .form-group {
width: 100%;
}
9 years ago
.units {
line-height: 5rem;
}
}
.admin .ban-modal .units {
line-height: 1.846;
}
#crop-picture-modal {
#cropped-image {
max-width: 100%;
}
.cropper-container.cropper-bg {
max-width: 100%;
}
}
.necro-post {
color: rgba(127,127,127,.5);
6 years ago
font-size: 1.5em;
margin-bottom: 20px;
text-align: center;
text-transform: uppercase;
}
.timeline-event {
display: flex;
align-items: center;
justify-content: center;
.timeline-badge {
padding: 1rem;
}
}
.imagedrop {
position: absolute;
text-align: center;
font-size: 24px;
color: @gray-light;
width: 100%;
display: none;
}