Files
NodeBB/public/less/generics.less

155 lines
2.4 KiB
Plaintext
Raw Normal View History

2016-03-24 13:23:39 -04:00
.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();
2016-04-25 21:46:22 +03:00
#move_thread_modal .category-list {
2016-04-25 19:45:50 +03:00
height: 500px;
overflow-y: auto;
overflow-x: hidden;
2016-04-25 21:46:22 +03:00
}
2016-05-18 19:02:43 +03:00
.topic-watch-dropdown {
.help-text {
margin-left: 20px;
}
}
2016-04-25 21:46:22 +03:00
.category-list {
padding: 0;
li {
.inline-block;
.pointer;
padding: 0.5em;
margin: 0.25em;
.border-radius(3px);
&.disabled {
2015-10-13 13:58:25 -04:00
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;
}
2016-02-17 18:24:58 +02:00
.avatar {
float: left;
2015-09-27 12:57:21 -04:00
margin-right: 1rem;
}
span {
vertical-align: middle;
display: inline-block;
}
}
}
2015-09-27 12:57:21 -04:00
.user-icon {
display: inline-block;
text-align: center;
color: @gray-lighter;
font-weight: normal;
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
2015-11-28 22:32:28 -05:00
.avatar {
/* Contains the user icon class as a mixin, so there's no need to include that in the template */
.user-icon;
2016-10-13 15:38:10 -04:00
&.avatar-xs {
width: 16px;
height: 16px;
.user-icon-style(16px, 1rem);
}
2015-11-28 22:32:28 -05:00
&.avatar-sm {
width: 24px;
height: 24px;
.user-icon-style(24px, 1.5rem);
}
2015-12-10 11:08:30 -05:00
&.avatar-md {
width: 32px;
height: 32px;
.user-icon-style(32px, 1.5rem);
}
2015-12-10 11:08:30 -05:00
&.avatar-lg {
2016-11-30 20:26:45 -05:00
width: 64px;
height: 64px;
.user-icon-style(64px, 4rem);
}
2017-05-08 13:49:35 -04:00
&.avatar-xl {
2015-12-10 11:08:30 -05:00
width: 128px;
height: 128px;
.user-icon-style(128px, 7.5rem);
}
2016-11-30 20:26:45 -05:00
&.avatar-xl {
2015-12-10 11:08:30 -05:00
width: 128px;
height: 128px;
.user-icon-style(128px, 7.5rem);
}
&.avatar-rounded {
border-radius: 50%;
}
2016-07-05 11:22:40 -04:00
}
.ban-modal {
.form-inline, .form-group {
width: 100%;
}
2016-08-31 12:20:47 -04:00
.units {
line-height: 5rem;
}
}
.admin .ban-modal .units {
line-height: 1.846;
2017-02-06 19:11:58 +00:00
}
#crop-picture-modal {
#cropped-image {
max-width: 100%;
2017-02-06 19:11:58 +00:00
}
.cropper-container.cropper-bg {
max-width: 100%;
}
}