styling
This commit is contained in:
@@ -50,7 +50,7 @@ body {
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
i {
|
||||
@@ -67,7 +67,7 @@ i {
|
||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
||||
transition: 0.3s;
|
||||
padding: 7px 5px 5px 7px;
|
||||
margin-right: 10px;
|
||||
margin-right: 0px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
|
||||
@@ -187,9 +187,15 @@ function remove(request, sender, sendResponse) {
|
||||
chrome.browserAction.setBadgeBackgroundColor({
|
||||
color: '#bf5700'
|
||||
});
|
||||
if (courses.length > 0) {
|
||||
chrome.browserAction.setBadgeText({
|
||||
text: "" + courses.length
|
||||
});
|
||||
} else {
|
||||
chrome.browserAction.setBadgeText({
|
||||
text: ""
|
||||
});
|
||||
}
|
||||
sendResponse({
|
||||
done: "Removed: (" + request.course.unique + ") " + request.course.coursename,
|
||||
label: "Add Course +"
|
||||
|
||||
Reference in New Issue
Block a user