2013-09-06 03:37:07 +08:00
|
|
|
// styles that apply to the user page
|
|
|
|
|
2014-02-11 01:30:36 +08:00
|
|
|
.groups {
|
|
|
|
.group-link {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $tertiary;
|
2014-02-11 01:30:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.user-preferences {
|
2014-01-02 14:58:49 +08:00
|
|
|
input.category-group {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete .badge-category {
|
|
|
|
margin: 2px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete .badge-category.selected {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
textarea {
|
|
|
|
width: 530px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
input[type=text] {
|
|
|
|
@include small-width {
|
|
|
|
width: 450px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagedown-editor {
|
|
|
|
width: 450px;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 440px;
|
|
|
|
}
|
|
|
|
}
|
2014-03-06 12:22:24 +08:00
|
|
|
|
2014-03-26 22:45:22 +08:00
|
|
|
.bio-composer #wmd-quote-post {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.static {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.instructions {
|
2014-05-14 15:26:09 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2014-01-13 07:11:40 +08:00
|
|
|
margin-left: 160px;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 5px;
|
2014-01-13 07:11:40 +08:00
|
|
|
margin-bottom: 10px;
|
2014-03-22 14:09:48 +08:00
|
|
|
font-size: 80%;
|
|
|
|
line-height: 1.4em;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
.instructions a[href] {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $tertiary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.warning {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($danger, $lightness: 30%);
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 5px 8px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 520px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.other .controls {
|
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-navigation {
|
2014-07-10 07:56:35 +08:00
|
|
|
width: 21.62%;
|
|
|
|
margin-right: 1.8018%;
|
2013-09-06 03:37:07 +08:00
|
|
|
float: left;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
h3 {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 20px 0 10px 0;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
2014-07-10 07:56:35 +08:00
|
|
|
|
|
|
|
width: 76.5765%;
|
2013-09-06 03:37:07 +08:00
|
|
|
float: left;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 50px;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
|
|
|
|
2014-02-08 02:46:39 +08:00
|
|
|
table.group-members {
|
|
|
|
width: 100%;
|
2014-07-04 11:40:49 +08:00
|
|
|
p {
|
|
|
|
max-width: 600px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2014-02-08 02:46:39 +08:00
|
|
|
th.seen {
|
|
|
|
text-align: right;
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
2014-02-08 02:46:39 +08:00
|
|
|
td.avatar {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
span.last-seen-at {
|
|
|
|
float: right;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-02-08 02:46:39 +08:00
|
|
|
}
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-content {
|
|
|
|
padding: 10px 8px;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2014-05-19 13:17:59 +08:00
|
|
|
border: 1px solid scale-color-diff();
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
2013-11-06 06:52:50 +08:00
|
|
|
|
2013-11-07 01:56:26 +08:00
|
|
|
.btn.right {
|
|
|
|
float: right
|
|
|
|
}
|
|
|
|
|
2013-11-06 06:52:50 +08:00
|
|
|
h2 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-bottom: 1px solid scale-color-diff();
|
2013-11-06 06:52:50 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-bottom: 1px solid scale-color-diff();
|
2013-11-06 06:52:50 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
.about {
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 0%, -75%);
|
2014-03-01 04:12:51 +08:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
overflow: hidden;
|
2014-05-08 01:49:59 +08:00
|
|
|
color: $secondary;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
.details {
|
|
|
|
text-align: center;
|
2013-11-01 22:27:01 +08:00
|
|
|
padding: 12px;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-weight: normal;
|
2014-02-24 09:47:44 +08:00
|
|
|
margin-top: 5px;
|
2014-07-04 11:40:49 +08:00
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a[href] {
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 75%, -10%);
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
2014-02-24 09:47:44 +08:00
|
|
|
margin-bottom: 10px;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2013-11-08 05:34:18 +08:00
|
|
|
.suspended {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
2013-11-08 05:34:18 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.primary {
|
2014-07-01 04:46:47 +08:00
|
|
|
position: relative;
|
2013-10-11 00:48:26 +08:00
|
|
|
float: left;
|
2014-07-01 07:04:21 +08:00
|
|
|
width: 71%;
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 75%, 0%);
|
2014-03-06 14:14:51 +08:00
|
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
2014-03-06 12:22:24 +08:00
|
|
|
h1, h2 {font-weight: bold;}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-08-14 03:43:27 +08:00
|
|
|
.primary-textual {
|
|
|
|
background: rgba($primary, 0.2);
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2013-10-17 04:22:16 +08:00
|
|
|
.bio {
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 75%, 0%);
|
2014-03-06 14:14:51 +08:00
|
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
2014-07-01 05:41:38 +08:00
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
|
|
|
a[href] {
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 75%, 0%);
|
2014-03-06 12:22:24 +08:00
|
|
|
text-decoration: underline;
|
2014-03-06 14:14:51 +08:00
|
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
2013-10-17 04:22:16 +08:00
|
|
|
}
|
2014-07-02 20:56:09 +08:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2013-10-17 04:22:16 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.secondary {
|
|
|
|
float: right;
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: rgba(dark-light-diff($primary, $secondary, 20%, -85%), .9);
|
2013-10-11 00:48:26 +08:00
|
|
|
text-align: right;
|
2014-07-10 07:56:35 +08:00
|
|
|
padding: 0 10px;
|
|
|
|
max-width: 20%;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
dd {
|
|
|
|
margin: 0 0 7px 0;
|
2013-11-01 22:27:01 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 75%, -10%);
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
dt {
|
2014-08-06 21:31:13 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 50%, -40%);
|
2013-10-11 00:48:26 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 30%, -80%);
|
2013-11-01 22:27:01 +08:00
|
|
|
padding: 12px;
|
|
|
|
height: 30px;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.right {
|
|
|
|
float: right;
|
2013-10-28 23:19:18 +08:00
|
|
|
margin-left: 5px;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-28 23:29:23 +08:00
|
|
|
.about.collapsed-info {
|
|
|
|
.controls {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-01 04:46:47 +08:00
|
|
|
.staff-counters {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-10-28 23:29:23 +08:00
|
|
|
.details {
|
|
|
|
.secondary { display: none; }
|
|
|
|
.bio { display: none; }
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-05-06 13:50:51 +08:00
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.user-stream {
|
|
|
|
.excerpt {
|
2014-03-06 14:14:51 +08:00
|
|
|
margin: 5px 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
font-size: 13px;
|
|
|
|
word-wrap: break-word;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.moderator-action {
|
2014-08-13 12:03:29 +08:00
|
|
|
background-color: dark-light-diff($highlight, $secondary, 50%, -10%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.deleted {
|
|
|
|
opacity: 0.8;
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -10%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
.item {
|
2014-02-24 09:47:44 +08:00
|
|
|
padding: 20px 8px 15px 8px;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-bottom: 1px solid scale-color-diff();
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.type {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
span.name {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-07-17 04:38:39 +08:00
|
|
|
.time, .delete-info {
|
2013-09-06 03:37:07 +08:00
|
|
|
display: block;
|
|
|
|
float: right;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-right: 8px;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
2014-07-17 04:38:39 +08:00
|
|
|
.delete-info i {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
.avatar-link {
|
|
|
|
float: left;
|
2014-05-29 14:21:21 +08:00
|
|
|
margin-right: 4px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.title {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
2014-07-04 11:40:49 +08:00
|
|
|
max-width: 80%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.name {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
max-width: 400px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
.edit-reason {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($highlight, $lightness: 25%);
|
2013-12-12 10:41:34 +08:00
|
|
|
padding: 3px 5px 5px 5px;
|
|
|
|
}
|
2014-05-09 23:49:39 +08:00
|
|
|
.remove-bookmark {
|
|
|
|
float: right;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
|
|
|
|
.staff-counters {
|
|
|
|
text-align: left;
|
|
|
|
position: absolute;
|
|
|
|
> div {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2014-07-17 03:04:55 +08:00
|
|
|
a.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.pill {
|
2014-07-01 05:54:15 +08:00
|
|
|
border-radius: 15px;
|
2014-07-01 04:46:47 +08:00
|
|
|
display: inline-block;
|
|
|
|
height: 30px;
|
2014-07-01 05:54:15 +08:00
|
|
|
width: 30px;
|
2014-07-01 04:46:47 +08:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2014-07-01 05:54:15 +08:00
|
|
|
line-height: 30px;
|
2014-07-01 04:46:47 +08:00
|
|
|
}
|
|
|
|
.helpful-flags {
|
|
|
|
background-color: green;
|
|
|
|
}
|
|
|
|
.flagged-posts {
|
|
|
|
background-color: #E49735;
|
|
|
|
}
|
2014-09-08 23:11:56 +08:00
|
|
|
.warnings-received {
|
|
|
|
background-color: #EC441B;
|
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
.deleted-posts {
|
|
|
|
background-color: #EC441B;
|
|
|
|
}
|
|
|
|
.suspensions {
|
|
|
|
background-color: #c22020;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|