-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-post-avatar.css
95 lines (83 loc) · 1.98 KB
/
custom-post-avatar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.custom-post-avatar-uploader{
background-color: #fff;
padding: 20px;
}
.custom-post-avatar-uploader.progress{
opacity: 0.3;
}
.custom-post-avatar-uploader-inner{
padding: 20px;
text-align: center;
}
.profile-php .custom-post-avatar-uploader-inner{
border: #b4b9be 4px dashed;
}
.custom-post-avatar-list img{
width: 100px;
height: 100px;
border: transparent 5px solid;
}
.custom-post-avatar-list img.default{
border: #b4b9be 5px solid;
}
.custom-post-avatar-list img:hover,
.custom-post-avatar-list img:focus{
border: #318eeb 5px solid;
}
.custom-post-avatar-list input[type="radio"],
#custompostavatardiv input[type="radio"]{
border-radius: 0;
margin: 0;
margin-top: 0;
margin-right: 0;
margin-left: 0;
margin-bottom: 0;
box-shadow: none;
background: transparent;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
border: none !important;
font-size: 0px;
line-height: 0px;
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.custom-post-avatar-list input[type="radio"] + img,
#custompostavatardiv input[type="radio"] + img{
width: 100px;
height: 100px;
border: transparent 5px solid;
cursor: pointer;
}
#custompostavatardiv input[type="radio"] + img{
width: 50px;
height: 50px;
}
.custom-post-avatar-list input[type="radio"]:checked + img,
#custompostavatardiv input[type="radio"]:checked + img{
border: #b4b9be 5px solid;
}
.custom-post-avatar-list input[type="radio"]:hover + img,
#custompostavatardiv input[type="radio"]:hover + img,
.custom-post-avatar-list input[type="radio"] + img:hover,
#custompostavatardiv input[type="radio"] + img:hover{
border: #318eeb 5px solid;
}
.custom-post-avatar-uploader-button{
margin: 20px !important;
}
/* --- */
.wp-admin .user-profile-picture{
display: none !important;
}