You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
1.6 KiB
CSS
122 lines
1.6 KiB
CSS
3 years ago
|
body {
|
||
|
background-color: #fcfcfc;
|
||
|
}
|
||
|
|
||
|
.avatar-view {
|
||
|
display: block;
|
||
|
margin: 15% auto 5%;
|
||
|
height: 220px;
|
||
|
width: 220px;
|
||
|
border: 3px solid #fff;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 0 5px rgba(0,0,0,.15);
|
||
|
cursor: pointer;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.avatar-view img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.avatar-body {
|
||
|
padding-right: 15px;
|
||
|
padding-left: 15px;
|
||
|
}
|
||
|
|
||
|
.avatar-upload {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.avatar-upload label {
|
||
|
display: block;
|
||
|
float: left;
|
||
|
clear: left;
|
||
|
width: 100px;
|
||
|
}
|
||
|
|
||
|
.avatar-upload input {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.avatar-alert {
|
||
|
margin-top: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.avatar-wrapper {
|
||
|
height: 120px;
|
||
|
width: 100%;
|
||
|
margin-top: 15px;
|
||
|
background-color: #fcfcfc;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.avatar-wrapper img {
|
||
|
display: block;
|
||
|
height: auto;
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
.avatar-preview {
|
||
|
float: left;
|
||
|
margin-top: 15px;
|
||
|
margin-right: 15px;
|
||
|
border: 1px solid #eee;
|
||
|
border-radius: 4px;
|
||
|
background-color: #fff;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.avatar-preview:hover {
|
||
|
border-color: #ccf;
|
||
|
box-shadow: 0 0 5px rgba(0,0,0,.15);
|
||
|
}
|
||
|
|
||
|
.avatar-preview img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.preview-lg {
|
||
|
height: 184px;
|
||
|
width: 184px;
|
||
|
margin-top: 15px;
|
||
|
}
|
||
|
|
||
|
.preview-md {
|
||
|
height: 100px;
|
||
|
width: 100px;
|
||
|
}
|
||
|
|
||
|
.preview-sm {
|
||
|
height: 50px;
|
||
|
width: 50px;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 992px) {
|
||
|
.avatar-preview {
|
||
|
float: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.avatar-btns {
|
||
|
margin-top: 30px;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.avatar-btns .btn-group {
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
|
||
|
.loading {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
background: #fff url("../img/loading.gif") no-repeat center center;
|
||
|
opacity: .75;
|
||
|
filter: alpha(opacity=75);
|
||
|
z-index: 20140628;
|
||
|
}
|