2017-08-25 09:04:19 +08:00
|
|
|
// Mobile styles for "/user" section
|
|
|
|
.user-right {
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
table.group-members {
|
|
|
|
width: 100%;
|
|
|
|
p {
|
|
|
|
max-width: 600px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-07-07 20:51:44 +08:00
|
|
|
th {
|
|
|
|
padding: 0.5em;
|
2014-10-28 11:35:16 +08:00
|
|
|
text-align: right;
|
2017-08-25 05:40:57 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
td {
|
2015-07-07 20:51:44 +08:00
|
|
|
padding: 0.5em;
|
2017-08-25 05:40:57 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-28 11:35:16 +08:00
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-07-07 20:51:44 +08:00
|
|
|
span.text {
|
2014-10-28 11:35:16 +08:00
|
|
|
float: right;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
2016-03-25 01:05:09 +08:00
|
|
|
.user-info {
|
2015-07-07 20:51:44 +08:00
|
|
|
width: 245px;
|
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-content {
|
|
|
|
background-color: $secondary;
|
|
|
|
box-sizing: border-box;
|
2016-03-26 16:30:20 +08:00
|
|
|
margin-top: 10px;
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
.btn.right {
|
|
|
|
float: right
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2017-08-25 05:40:57 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-28 11:35:16 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
2017-08-25 05:40:57 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.about {
|
2016-02-22 18:18:34 +08:00
|
|
|
background: dark-light-diff($primary, $secondary, 0%, -75%) center;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
2014-10-28 11:35:16 +08:00
|
|
|
color: $secondary;
|
|
|
|
|
2017-04-27 04:18:16 +08:00
|
|
|
.secondary {
|
2017-08-25 05:40:57 +08:00
|
|
|
background: $primary-low;
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
dl {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin: 0 15px 0 5px;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.details {
|
2017-09-01 19:29:50 +08:00
|
|
|
padding: 15px 0 4px 0;
|
2016-02-06 22:18:13 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
h1 {
|
2014-10-28 11:35:16 +08:00
|
|
|
margin: 10px 0 0 0;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2014-08-01 13:41:11 +08:00
|
|
|
.primary {
|
2016-06-20 02:43:17 +08:00
|
|
|
color: $primary;
|
2014-08-01 13:41:11 +08:00
|
|
|
|
2014-08-14 03:38:55 +08:00
|
|
|
.primary-textual {
|
2014-10-28 11:35:16 +08:00
|
|
|
float: left;
|
2016-02-22 18:03:50 +08:00
|
|
|
padding-left: 15px;
|
2014-10-28 11:35:16 +08:00
|
|
|
a[href] {
|
2016-06-20 02:43:17 +08:00
|
|
|
color: $primary;
|
2014-08-14 03:38:55 +08:00
|
|
|
}
|
|
|
|
}
|
2014-08-01 13:41:11 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.bio {
|
2016-06-20 02:43:17 +08:00
|
|
|
color: $primary;
|
2014-10-28 11:35:16 +08:00
|
|
|
max-width: 700px;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2016-02-22 18:03:50 +08:00
|
|
|
float: left;
|
|
|
|
padding-left: 15px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-11-02 12:44:56 +08:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
a {
|
2016-02-22 18:03:50 +08:00
|
|
|
width: 120px;
|
2013-11-01 22:27:01 +08:00
|
|
|
}
|
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
&.collapsed-info {
|
|
|
|
.details {
|
|
|
|
padding: 12px 15px 2px 15px;
|
2013-11-01 22:27:01 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2014-08-02 01:18:31 +08:00
|
|
|
.staff-counters {
|
2014-10-28 11:35:16 +08:00
|
|
|
padding: 7px 0;
|
|
|
|
display: inline;
|
2014-07-14 15:52:57 +08:00
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.user-field {
|
|
|
|
label {
|
2017-04-27 04:18:16 +08:00
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
2014-10-28 11:35:16 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-14 15:52:57 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.profile-image {
|
|
|
|
height: 25px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-background .details {
|
|
|
|
margin-top: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.paginated-topics-list {
|
|
|
|
margin-top: 20px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2015-01-09 09:32:19 +08:00
|
|
|
|
2016-03-26 16:30:20 +08:00
|
|
|
// mobile fixups for badges
|
|
|
|
.badge-card.medium {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
2016-03-28 14:39:56 +08:00
|
|
|
.user-badges {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.show-badge-details {
|
|
|
|
margin-bottom: 1em;
|
2016-03-28 14:39:56 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.badge-grant-info {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-28 14:39:56 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.user-preferences {
|
|
|
|
.control-group {
|
|
|
|
padding: 8px 36px 8px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.static {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-controls {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls-dropdown {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
padding-left: 5px;
|
2016-03-28 14:39:56 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.save-button {
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
max-width: 200px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.delete-account {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.desktop-notifications button {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.apps .controls button {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-03-28 14:39:56 +08:00
|
|
|
}
|