Retrospring/app/assets/stylesheets/scss/user.scss

143 lines
2.4 KiB
SCSS
Raw Normal View History

.profile--img {
min-height: 80px;
min-width: 80px;
height: 80px;
width: 8px;
}
.profile--displayname {
2015-01-02 16:49:56 -08:00
font-weight: 700;
font-size: 1.2em;
margin-top: -0.165em;
line-height: 1.33em;
}
.profile--username {
2015-01-02 16:49:56 -08:00
font-size: 0.9em;
color: rgba(0, 0, 0, 0.4);
2015-01-02 17:13:53 -08:00
line-height: 1.33;
}
.profile--followtag {
margin: 0px 0px 0.2em;
}
.profile--text {
margin-bottom: 2px;
2015-01-02 17:14:49 -08:00
line-height: 1.5em;
2015-01-02 19:32:26 -08:00
margin-top: 0.65em;
2014-12-12 15:55:00 -08:00
}
2015-05-08 08:44:16 -07:00
#profile--header {
position: relative;
z-index: -1;
2014-12-12 15:55:00 -08:00
width: 100%;
2015-05-08 08:46:07 -07:00
overflow: hidden;
2014-12-12 15:55:00 -08:00
background-color: darken($navbar-inverse-bg, 10%);
2017-03-29 14:35:23 -07:00
max-height: 440px;
}
#profile--header.profile--no-header {
position: absolute;
}
.profile--panel .panel-heading {
2020-04-19 12:08:58 -07:00
color: theme-color('primary');
border-bottom: 2px solid theme-color('primary');
background-color: #fff;
text-transform: uppercase;
2014-12-19 14:41:15 -08:00
}
.profile--panel .panel-body {
padding-top: 0px;
2014-12-20 05:37:14 -08:00
}
.inbox--panel .panel-heading {
2020-04-19 12:08:58 -07:00
color: theme-color('info');
border-bottom: 2px solid theme-color('info');
2014-12-20 05:37:14 -08:00
background-color: #fff;
text-transform: uppercase;
}
.warning--panel .panel-heading {
2020-04-19 12:08:58 -07:00
color: theme-color('danger');
border-bottom: 2px solid theme-color('danger');
2014-12-20 05:37:14 -08:00
background-color: #fff;
text-transform: uppercase;
2014-12-26 04:48:20 -08:00
}
.profile--follow-btn {
margin-top: 5px;
2015-01-02 16:49:56 -08:00
}
2015-01-02 16:58:27 -08:00
.profile--avatar {
2015-01-02 16:49:56 -08:00
width: 100%;
height: auto;
border: medium none;
2015-01-06 06:26:24 -08:00
}
.profile--panel-badge {
width: 100%;
text-align: center;
padding-top: 0.15em;
padding-bottom: 0.15em;
2015-01-06 06:26:24 -08:00
text-transform: uppercase;
font-weight: bold;
margin: 0;
color: #fff;
}
2020-04-19 12:08:58 -07:00
$colours: danger theme-color('danger'),
2015-01-25 11:30:09 -08:00
default #BBB,
2020-04-19 12:08:58 -07:00
success theme-color('success'),
warning theme-color('warning'),
primary theme-color('primary'),
2015-01-25 11:48:14 -08:00
info #2980b9;
2015-01-06 06:32:14 -08:00
2015-01-25 11:30:09 -08:00
@each $colour in $colours {
.panel-badge-#{nth($colour, 1)} {
background-color: nth($colour, 2);
}
}
.user--banned {
text-decoration: line-through !important;
2015-01-17 15:16:06 -08:00
}
.profile--panel-push-inner:not(.profile--no-header) {
2015-01-17 15:16:06 -08:00
display: block;
2015-05-08 08:44:16 -07:00
height: 60px;
2015-01-17 15:16:06 -08:00
}
2015-05-08 08:44:16 -07:00
.profile--header-img {
2015-01-17 15:16:06 -08:00
display: block;
2015-05-08 08:44:16 -07:00
min-width: 900px;
2015-01-17 15:16:06 -08:00
width: 100%;
2015-05-08 08:44:16 -07:00
}
@media(min-width: 767px) {
.container.headerable:not(.profile--no-header) {
2015-05-08 08:44:16 -07:00
padding-top: 0;
margin-top: -30px;
}
}
2015-07-24 08:04:46 -07:00
.userbox--header {
width: 100%;
height: auto;
}
.userbox--avatar {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: -60px;
border-radius: 5px;
}
.userbox--username {
text-align: center;
margin-top: 10px;
margin-bottom: 5px;
}