Changed friendship buttons. We now use AJAX, changed button style and added FA icons.
This commit is contained in:
@@ -175,6 +175,15 @@ textarea:focus, input:focus, select:focus {
|
||||
}
|
||||
|
||||
/* All buttons */
|
||||
button.red {
|
||||
background-color: firebrick;
|
||||
}
|
||||
|
||||
button.green {
|
||||
background-color: forestgreen;
|
||||
}
|
||||
|
||||
|
||||
button,
|
||||
input[type="submit"],
|
||||
input[type="reset"] {
|
||||
|
||||
@@ -78,17 +78,16 @@ div.posts .post form textarea.newpost {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
input.profile-button {
|
||||
button.friend-button {
|
||||
float: right;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
margin-left: 10px;
|
||||
border-radius: 5px;
|
||||
background-color: #4CAF50;
|
||||
color: #FFFFFF;
|
||||
transition-duration: 250ms;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.profile-button:hover {
|
||||
button.friend-button:hover {
|
||||
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
||||
}
|
||||
Reference in New Issue
Block a user