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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.profile-image {
|
2014-11-13 15:33:41 +08:00
|
|
|
height: 420px;
|
2014-10-28 11:35:16 +08:00
|
|
|
width: 100%;
|
|
|
|
background-size: cover;
|
|
|
|
transition: height .15s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-background {
|
|
|
|
.profile-image {
|
2014-11-13 18:11:22 +08:00
|
|
|
height: 200px;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.user-preferences {
|
2016-06-16 01:49:57 +08:00
|
|
|
input.category-selector, input.user-selector {
|
2015-03-24 08:55:22 +08:00
|
|
|
width: 530px;
|
2014-01-02 14:58:49 +08:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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 {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $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;
|
|
|
|
}
|
|
|
|
|
2016-06-17 09:28:19 +08:00
|
|
|
.pref-mailing-list-mode .controls {
|
|
|
|
select {
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.other .controls {
|
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-03 03:56:28 +08:00
|
|
|
.form-horizontal .control-group.other {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
2016-01-11 19:40:59 +08:00
|
|
|
.user-table {
|
|
|
|
margin-top: 30px;
|
|
|
|
width: 100%;
|
|
|
|
display: table;
|
|
|
|
.wrapper {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-navigation .nav-stacked .glyph {
|
2016-01-12 11:14:52 +08:00
|
|
|
display: none;
|
|
|
|
// float: right;
|
|
|
|
// display: block;
|
|
|
|
// position: static;
|
2016-01-11 19:40:59 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-navigation {
|
2016-01-11 19:40:59 +08:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 170px;
|
2016-01-24 15:11:49 +08:00
|
|
|
padding-right: 30px;
|
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
|
|
|
}
|
|
|
|
|
2015-09-02 14:50:40 +08:00
|
|
|
.viewing-self .user-main .about.collapsed-info {
|
|
|
|
.secondary, .staff-counters {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
|
|
|
margin-bottom: 50px;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2015-11-09 21:52:04 +08:00
|
|
|
// name hacky so lastpass does not freak out
|
|
|
|
// -search- means it is bypassed
|
|
|
|
#add-user-to-group {
|
2016-06-28 08:33:11 +08:00
|
|
|
button, .ac-wrap {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
#user-search-selector {
|
|
|
|
width: 400px;
|
|
|
|
}
|
2015-11-09 21:52:04 +08:00
|
|
|
}
|
|
|
|
|
2014-02-08 02:46:39 +08:00
|
|
|
table.group-members {
|
2014-11-15 03:28:46 +08:00
|
|
|
width: 100%;
|
2014-07-04 11:40:49 +08:00
|
|
|
p {
|
|
|
|
max-width: 600px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-07-06 19:18:27 +08:00
|
|
|
th {
|
|
|
|
padding: 0.5em;
|
2014-02-08 02:46:39 +08:00
|
|
|
text-align: right;
|
2015-07-06 19:18:27 +08:00
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
2014-02-08 02:46:39 +08:00
|
|
|
td.avatar {
|
|
|
|
width: 60px;
|
2015-11-09 21:52:04 +08:00
|
|
|
position: relative;
|
|
|
|
.is-owner {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 20px;
|
|
|
|
color: dark-light-diff($primary, $secondary, 50%, -50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td.remove-user {
|
|
|
|
text-align: right;
|
2014-02-08 02:46:39 +08:00
|
|
|
}
|
|
|
|
td {
|
2015-07-06 19:18:27 +08:00
|
|
|
padding: 0.5em;
|
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-02-08 02:46:39 +08:00
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-07-06 19:18:27 +08:00
|
|
|
span.text {
|
2014-02-08 02:46:39 +08:00
|
|
|
float: right;
|
2015-07-06 19:18:27 +08:00
|
|
|
font-size: 1.2em;
|
|
|
|
color: dark-light-diff($primary, $secondary, 50%, -50%);
|
2014-02-08 02:46:39 +08:00
|
|
|
}
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-15 03:28:46 +08:00
|
|
|
.user-right.groups {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-11-13 02:57:59 +08:00
|
|
|
.user-right {
|
2016-01-11 19:40:59 +08:00
|
|
|
max-width: 700px;
|
2014-11-13 02:57:59 +08:00
|
|
|
margin-top: 20px;
|
2016-01-11 19:40:59 +08:00
|
|
|
display: table-cell;
|
2014-11-13 02:57: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;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
2014-10-28 11:35:16 +08:00
|
|
|
box-sizing: border-box;
|
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;
|
|
|
|
}
|
|
|
|
|
2016-02-06 06:19:23 +08:00
|
|
|
.user-invite-list {
|
2013-11-06 06:52:50 +08:00
|
|
|
width: 100%;
|
2016-02-06 06:19:23 +08:00
|
|
|
margin-top: 15px;
|
2013-11-06 06:52:50 +08:00
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2015-08-04 06:38:32 +08:00
|
|
|
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
padding: 0 0 10px 0;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-08-04 06:38:32 +08:00
|
|
|
font-weight: normal;
|
2013-11-06 06:52:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2015-08-04 06:38:32 +08:00
|
|
|
padding: 10px 0 10px 0;
|
2015-06-15 10:59:49 +08:00
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-11-06 06:52:50 +08:00
|
|
|
}
|
|
|
|
}
|
2015-03-20 02:57:07 +08:00
|
|
|
|
|
|
|
.pref-avatar {
|
|
|
|
.avatar {
|
|
|
|
max-width: 45px;
|
|
|
|
max-height: 45px;
|
|
|
|
}
|
|
|
|
}
|
2015-07-11 20:09:12 +08:00
|
|
|
|
|
|
|
.user-invite-controls {
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -75%);
|
|
|
|
padding: 5px 10px 0px 0;
|
|
|
|
height: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-invite-search {
|
|
|
|
clear: both;
|
|
|
|
margin: 15px 0px -15px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-invite-none {
|
|
|
|
clear: both;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
.about {
|
2014-03-01 04:12:51 +08:00
|
|
|
background-position: center center;
|
2014-11-26 23:49:50 +08:00
|
|
|
background-size: cover;
|
2014-10-28 11:35:16 +08:00
|
|
|
width: 100%;
|
2013-10-11 00:48:26 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
2014-10-29 04:04:18 +08:00
|
|
|
&.group {
|
2014-11-15 03:28:46 +08:00
|
|
|
.details {
|
2016-06-28 08:33:11 +08:00
|
|
|
padding: 15px 0px;
|
2014-11-15 03:28:46 +08:00
|
|
|
margin: 0;
|
2016-06-26 00:01:15 +08:00
|
|
|
color: dark-light-choose(lighten($primary, 10%), $secondary);
|
2014-11-15 03:28:46 +08:00
|
|
|
}
|
2014-10-29 04:04:18 +08:00
|
|
|
}
|
2014-10-29 03:48:03 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.secondary {
|
2016-06-20 02:43:17 +08:00
|
|
|
background: scale-color($secondary, $lightness: -5%);
|
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2014-10-28 11:35:16 +08:00
|
|
|
.btn { padding: 3px 12px; }
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
dl dd {
|
|
|
|
display: inline;
|
2014-11-07 00:31:06 +08:00
|
|
|
margin: 0 10px 0 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dt {
|
|
|
|
display: inline-block;
|
2014-11-07 00:31:06 +08:00
|
|
|
margin: 0 5px 0 0;
|
|
|
|
padding: 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
margin: 0;
|
2014-11-07 00:31:06 +08:00
|
|
|
padding: 8px 10px;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
dd {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
2014-11-06 03:05:16 +08:00
|
|
|
dd.groups {
|
|
|
|
span:after {
|
|
|
|
content: ','
|
|
|
|
}
|
|
|
|
span:last-of-type:after {
|
|
|
|
content:''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
dt {
|
|
|
|
color: dark-light-diff($secondary, $primary, 50%, -40%);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
2016-06-20 02:43:17 +08:00
|
|
|
padding: 0 0 4px 0;
|
|
|
|
background: rgba($secondary, .85);
|
2014-11-13 15:33:41 +08:00
|
|
|
margin-top: -200px;
|
2014-10-28 11:35:16 +08:00
|
|
|
transition: margin .15s linear;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2016-02-06 22:18:13 +08:00
|
|
|
blockquote {
|
|
|
|
background-color: dark-light-diff($secondary, $primary, 30%, -70%);
|
|
|
|
border-left-color: dark-light-diff($secondary, $primary, 50%, -50%);
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
h1 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 2.143em;
|
2013-10-11 00:48:26 +08:00
|
|
|
font-weight: normal;
|
2014-12-16 11:12:56 +08:00
|
|
|
i {font-size: .8em;}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.214em;
|
2013-10-11 00:48:26 +08:00
|
|
|
font-weight: normal;
|
2014-10-28 11:35:16 +08:00
|
|
|
margin-top: 10px;
|
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
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
h3 {
|
|
|
|
font-weight: normal;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-10-28 11:35:16 +08:00
|
|
|
margin: 5px 0;
|
|
|
|
i:not(:first-of-type) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.groups {
|
|
|
|
margin-left: 10px;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
img.avatar {
|
2014-10-28 11:35:16 +08:00
|
|
|
margin: 0 20px 10px 0;
|
|
|
|
float: left;
|
|
|
|
transition: all .1s linear;
|
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-10-28 11:35:16 +08:00
|
|
|
width: 100%;
|
2014-07-01 04:46:47 +08:00
|
|
|
position: relative;
|
2013-10-11 00:48:26 +08:00
|
|
|
float: left;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
h1 {font-weight: bold;}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-08-14 03:43:27 +08:00
|
|
|
.primary-textual {
|
|
|
|
padding: 3px;
|
2014-10-28 11:35:16 +08:00
|
|
|
a[href] {
|
2016-06-20 02:43:17 +08:00
|
|
|
text-decoration: underline;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2014-08-14 03:43:27 +08:00
|
|
|
}
|
|
|
|
|
2013-10-17 04:22:16 +08:00
|
|
|
.bio {
|
2014-07-01 05:41:38 +08:00
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
2014-10-28 11:35:16 +08:00
|
|
|
max-width: 750px;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
|
|
|
a[href] {
|
2014-03-06 12:22:24 +08:00
|
|
|
text-decoration: underline;
|
2013-10-17 04:22:16 +08:00
|
|
|
}
|
2014-07-02 20:56:09 +08:00
|
|
|
|
2016-07-04 23:36:59 +08:00
|
|
|
a.mention {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2016-06-20 02:43:17 +08:00
|
|
|
&.has-background {
|
|
|
|
.details { padding: 15px 15px 4px 15px;}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2014-10-28 11:35:16 +08:00
|
|
|
padding: 0 0 12px 0;
|
|
|
|
float: right;
|
2014-11-14 15:41:17 +08:00
|
|
|
text-align: right;
|
2014-11-03 23:16:10 +08:00
|
|
|
width: 180px;
|
2014-10-28 11:35:16 +08:00
|
|
|
ul {list-style-type: none;}
|
|
|
|
a {
|
|
|
|
padding: 5px 10px;
|
|
|
|
width: 140px;
|
|
|
|
margin-bottom: 10px;
|
2015-09-01 02:34:34 +08:00
|
|
|
}
|
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-11-04 23:57:30 +08:00
|
|
|
width: auto;
|
2014-10-28 11:35:16 +08:00
|
|
|
ul {
|
|
|
|
li {display: inline;}
|
|
|
|
a {
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2013-10-28 23:29:23 +08:00
|
|
|
}
|
|
|
|
|
2014-07-01 04:46:47 +08:00
|
|
|
.staff-counters {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.secondary { display: none; }
|
|
|
|
|
|
|
|
.profile-image {
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2013-10-28 23:29:23 +08:00
|
|
|
.details {
|
2016-06-20 02:43:17 +08:00
|
|
|
padding: 0 0 2px 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
margin-top: 0;
|
2016-06-20 02:43:17 +08:00
|
|
|
background: rgba($secondary, .85);
|
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-10-28 23:29:23 +08:00
|
|
|
.bio { display: none; }
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
width: 100%;
|
2013-10-28 23:29:23 +08:00
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.429em;
|
2013-10-28 23:29:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.071em;
|
2013-10-28 23:29:23 +08:00
|
|
|
margin-top: 4px;
|
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-10-28 23:29:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-20 02:43:17 +08:00
|
|
|
&.has-background {
|
|
|
|
.details { padding: 12px 15px 2px 15px;}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
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;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2013-09-06 03:37:07 +08:00
|
|
|
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;
|
2015-06-15 10:59:49 +08:00
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
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-11-14 15:35:44 +08:00
|
|
|
color: lighten($primary, 40%);
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-07-17 04:38:39 +08:00
|
|
|
}
|
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 {
|
2014-07-04 11:40:49 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-07-11 05:35:47 +08:00
|
|
|
display: block;
|
2014-07-04 11:40:49 +08:00
|
|
|
}
|
|
|
|
.name {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-07-04 11:40:49 +08:00
|
|
|
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 {
|
2015-08-22 02:37:19 +08:00
|
|
|
background-color: dark-light-choose(scale-color($highlight, $lightness: 25%), scale-color($highlight, $lightness: -50%));
|
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;
|
|
|
|
}
|
2014-09-03 09:32:27 +08:00
|
|
|
.notification {
|
|
|
|
&.unread {
|
2015-05-20 09:10:40 +08:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
2014-09-03 09:32:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
li { display: inline-block; }
|
|
|
|
p {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
span {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.time {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
// common/base/header.scss
|
|
|
|
.fa, .icon {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.714em;
|
2014-09-03 09:32:27 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-07 21:18:51 +08:00
|
|
|
.group-member-info {
|
2015-07-07 02:28:37 +08:00
|
|
|
.name {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-07-07 02:28:37 +08:00
|
|
|
}
|
|
|
|
.title {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 5px;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-07-07 02:28:37 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
|
|
|
|
.staff-counters {
|
|
|
|
text-align: left;
|
2014-10-28 11:35:16 +08:00
|
|
|
background: $primary;
|
2015-08-19 12:35:25 +08:00
|
|
|
color: $secondary;
|
2016-07-04 23:36:59 +08:00
|
|
|
margin-bottom: 20px;
|
2015-08-19 12:35:25 +08:00
|
|
|
a {
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
> div {
|
2014-10-28 11:35:16 +08:00
|
|
|
margin: 0 10px 0 0;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 0;
|
|
|
|
&:first-of-type {
|
|
|
|
padding-left: 10px;
|
2015-08-19 12:35:25 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
span {
|
|
|
|
padding: 1px 5px;
|
|
|
|
border-radius: 10px;
|
2015-08-19 12:35:25 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
.active {
|
2014-07-17 03:04:55 +08:00
|
|
|
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;
|
|
|
|
}
|
2014-09-27 02:48:34 +08:00
|
|
|
|
2014-10-03 03:56:28 +08:00
|
|
|
.user-field.text {
|
|
|
|
padding-top: 18px;
|
|
|
|
}
|
|
|
|
|
2014-09-27 02:48:34 +08:00
|
|
|
.user-field {
|
2014-10-03 03:56:28 +08:00
|
|
|
label {
|
|
|
|
width: 140px;
|
|
|
|
float: left;
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-09-27 02:48:34 +08:00
|
|
|
input[type=text] {
|
2014-10-03 03:56:28 +08:00
|
|
|
width: 530px;
|
2014-09-27 02:48:34 +08:00
|
|
|
}
|
2014-10-03 03:56:28 +08:00
|
|
|
.controls {
|
|
|
|
label {
|
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
float: auto;
|
|
|
|
}
|
|
|
|
p {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-10-03 03:56:28 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 80%;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 10px;
|
2014-09-27 02:48:34 +08:00
|
|
|
}
|
2015-12-15 06:17:09 +08:00
|
|
|
.group-notification-menu .dropdown-menu {
|
|
|
|
top: 30px;
|
|
|
|
bottom: auto;
|
2016-04-04 22:53:23 +08:00
|
|
|
left: auto;
|
|
|
|
right: 10px;
|
2015-12-15 06:17:09 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
.paginated-topics-list {
|
2014-11-13 02:57:59 +08:00
|
|
|
.user-content {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2015-12-17 15:06:04 +08:00
|
|
|
|
|
|
|
.user-right .group-notification-menu {
|
|
|
|
float: right;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2015-12-24 06:45:09 +08:00
|
|
|
.user-main .nav-stacked {
|
2016-01-11 19:40:59 +08:00
|
|
|
&.activity-list {
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
2015-12-24 06:45:09 +08:00
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
border-bottom: none;
|
|
|
|
> a {
|
2016-01-11 19:40:59 +08:00
|
|
|
padding: 8px 13px;
|
2015-12-24 06:45:09 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 40%));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li > a.active {
|
|
|
|
color: $primary;
|
2015-12-30 10:26:21 +08:00
|
|
|
font-weight: bold;
|
2015-12-24 06:45:09 +08:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
li > a.active:after {
|
2016-01-11 19:40:59 +08:00
|
|
|
display: none;
|
2015-12-24 06:45:09 +08:00
|
|
|
}
|
2016-01-24 15:11:49 +08:00
|
|
|
|
|
|
|
li.archive {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
2015-12-24 06:45:09 +08:00
|
|
|
}
|