Files
ultimatemember/assets/css/um-profile.css
T

293 lines
4.6 KiB
CSS
Raw Normal View History

2014-12-15 22:38:07 +02:00
/*
- Profile mode .um alias
*/
.um-profile {
box-sizing: border-box;
2014-12-29 15:51:55 +02:00
}
.um-profile .um-cover-overlay {
display: none;
}
.um-profile.um-editing .um-cover.has-cover .um-cover-overlay {
display: block;
}
.um-profile.um-viewing .um-profile-photo-overlay {
display: none;
2014-12-15 22:38:07 +02:00
}
2014-12-30 20:18:29 +02:00
.um-profile img {display: block;overflow:hidden;border-radius:0;margin: 0}
2014-12-15 22:38:07 +02:00
.um-profile a,
.um-profile a:hover {text-decoration:none !important}
.um-profile .um-profile-body {
2014-12-16 21:57:13 +02:00
padding-top: 15px;
max-width: 600px;
margin: auto;
2014-12-15 22:38:07 +02:00
}
.um-profile.um-editing {
padding-bottom: 30px;
}
.um-profile.um-viewing .um-field-label {
display: block;
margin: 0 0 8px 0;
border-bottom: solid 2px #eee;
padding-bottom: 4px;
}
/*
- Profile cover
*/
2014-12-29 15:51:55 +02:00
.um-cover {
2014-12-15 22:38:07 +02:00
background-color: #eee;
2014-12-29 15:51:55 +02:00
box-sizing: border-box;
position: relative;
}
.um-cover-add {
color: #aaa;
font-size: 36px;
width: 100%;
display: table;
2014-12-15 22:38:07 +02:00
}
2014-12-16 21:57:13 +02:00
.um-cover-add span {
display: table-cell;
vertical-align: middle;
}
2014-12-29 15:51:55 +02:00
.um-cover-add:hover { color: #3ba1da }
2014-12-15 22:38:07 +02:00
.um-cover-e {
text-align: center;
box-sizing: border-box;
}
2014-12-29 15:51:55 +02:00
2014-12-16 21:57:13 +02:00
.um-cover-e img {width: 100% !important}
2014-12-15 22:38:07 +02:00
2014-12-29 15:51:55 +02:00
.um-cover-overlay {
position: absolute;
top: 0;
left: 0;
background: rgba(0,0,0,.5);
text-align: center;
box-sizing: border-box;
padding: 0 40px;
color: #fff;
2014-12-30 20:18:29 +02:00
text-shadow: 0 1px #666;
2014-12-29 15:51:55 +02:00
cursor: pointer !important;
line-height: 21px;
font-size: 16px;
height: 100%;
2014-12-15 22:38:07 +02:00
width: 100%;
2014-12-29 15:51:55 +02:00
}
.um-cover-overlay:hover {
background: rgba(0,0,0,.55);
}
.um-cover-overlay span.um-cover-overlay-s {
2014-12-15 22:38:07 +02:00
display: table;
2014-12-29 15:51:55 +02:00
height: 100%;
width: 100%;
}
.um-cover-overlay ins {
display: table-cell;
vertical-align: middle;
height: 100%;
text-decoration: none !important;
2015-01-14 00:11:38 +02:00
background: none !important;
color: #fff !important;
border-bottom: none !important;
2014-12-29 15:51:55 +02:00
}
.um-cover-overlay i {
font-size: 46px;
display: block;
margin-bottom: 6px;
2014-12-15 22:38:07 +02:00
}
/*
- Profile header
*/
.um-header {
position: relative;
padding: 0 0 25px 0;
border-bottom: solid 2px #eee;
2015-01-03 15:31:15 +02:00
min-height: 85px;
2015-01-14 00:11:38 +02:00
box-sizing: content-box !important;
2014-12-15 22:38:07 +02:00
}
.um-profile-edit {
position: absolute;
top: 15px;
2014-12-29 15:51:55 +02:00
right: 0;
2014-12-15 22:38:07 +02:00
vertical-align: middle;
2014-12-16 21:57:13 +02:00
font-size: 30px;
height: 30px;
line-height: 30px;
2015-01-11 19:07:55 +02:00
z-index: 66;
2014-12-15 22:38:07 +02:00
}
/*
- Header without cover enabled
*/
.um-header.no-cover .um-profile-meta {
padding-left: 0 !important;
padding-right: 0 !important;
text-align: center !important;
}
.um-header.no-cover .um-name {
float: none !important;
margin-right: 0 !important;
}
.um-header.no-cover .um-profile-photo {
float: none !important;
margin: 0 auto !important;
text-align: center !important;
}
.um-header.no-cover a.um-profile-photo-img {
position: relative !important;
top: auto !important;
left: auto !important;
float: none !important;
display: inline-block !important;
text-align: center !important;
}
.um-header.no-cover .um-main-meta {padding: 0;}
/*
- Profile photo
*/
2015-01-14 00:11:38 +02:00
.um-profile .gravatar {
position: static;
}
2014-12-15 22:38:07 +02:00
.um-profile-photo {
float: left;
position: relative;
}
.um-profile-photo a.um-profile-photo-img {
float: left;
position: absolute;
background: #fff;
padding: 5px;
left: 30px;
}
2014-12-29 15:51:55 +02:00
.um-profile-photo a.um-profile-photo-img img {
width: 100%;
height: 100%;
}
.um-profile-photo-overlay {
position: absolute;
top: 0;
left: 0;
background: rgba(0,0,0,.5);
text-align: center;
box-sizing: border-box;
2015-01-07 00:12:03 +02:00
padding: 0;
2014-12-29 15:51:55 +02:00
color: #fff;
2014-12-30 20:18:29 +02:00
text-shadow: 0 1px #666;
cursor: pointer !important;
2014-12-29 15:51:55 +02:00
line-height: 21px;
font-size: 16px;
2014-12-30 20:18:29 +02:00
height: 100%;
width: 100%;
2014-12-29 15:51:55 +02:00
}
.um-profile-photo-overlay:hover {
background: rgba(0,0,0,.55);
}
.um-profile-photo-overlay span.um-profile-photo-overlay-s {
display: table;
height: 100%;
width: 100%;
}
.um-profile-photo-overlay ins {
display: table-cell;
vertical-align: middle;
height: 100%;
text-decoration: none !important;
2015-01-14 00:11:38 +02:00
background: none !important;
color: #fff !important;
border-bottom: none !important;
2014-12-29 15:51:55 +02:00
}
.um-profile-photo-overlay i {
font-size: 46px;
display: block;
2014-12-15 22:38:07 +02:00
}
/*
- Profile meta
*/
.um-profile-meta {
padding-right: 30px;
2015-01-11 19:07:55 +02:00
-ms-word-break: break-all;
word-break: break-word;
word-wrap: break-word;
2014-12-15 22:38:07 +02:00
}
.um-main-meta {
padding: 10px 0 0 0;
}
.um-name {
float: left;
2014-12-16 21:57:13 +02:00
font-size: 24px;
font-weight: bold;
2014-12-15 22:38:07 +02:00
margin-right: 30px;
2015-01-11 19:07:55 +02:00
line-height: 1.7em;
2014-12-15 22:38:07 +02:00
}
.um-meta {
font-size: 15px;
}
2015-01-11 19:07:55 +02:00
.um-meta span a {
font-weight: normal;
}
2014-12-29 15:51:55 +02:00
.um-meta span:first-child {margin: 0 5px 0 0}
2014-12-15 22:38:07 +02:00
.um-meta span {
2014-12-16 21:57:13 +02:00
margin: 0 5px;
2014-12-15 22:38:07 +02:00
font-size: 14px;
2015-01-03 15:31:15 +02:00
display: inline-block;
2014-12-15 22:38:07 +02:00
}
.um-meta-text {
2014-12-29 15:51:55 +02:00
margin: 6px 0 0 0;
2014-12-16 21:57:13 +02:00
color: #666;
2015-01-05 01:33:17 +02:00
}
.um-profile-status {display:none}
.um-profile-status.awaiting_admin_review,
.um-profile-status.inactive,
.um-profile-status.rejected {
display: inline-block;
margin: 6px 0 0 0;
border-left: 3px solid #C74A4A;
padding-left: 10px;
font-size: 14px;
color: #777;
2014-12-15 22:38:07 +02:00
}