Skip to content

Commit 77915c6

Browse files
committed
Add status text
1 parent 8499a92 commit 77915c6

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

static/shared/css/documentation.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,21 @@ div.expandable > ul h3 > a.expanded:hover {
938938
background-position: -38px -43px;
939939
}
940940

941-
li.api-status {
942-
width: 24px;
943-
text-align: center;
941+
942+
li.api-status a.good {
943+
color: #227b41;
944+
}
945+
946+
li.api-status a.minor {
947+
color: #ed8b3f;
948+
}
949+
950+
li.api-status a.major {
951+
color: #ad1a05;
952+
}
953+
954+
li.api-status img {
955+
float: left;
956+
margin: 0 5px 0 0;
944957
}
945958
/* @end */

static/shared/js/documentation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ $(function() {
8282
var link = $("<a>")
8383
.attr("href", "https://status.github.com")
8484
.addClass(data.status)
85-
.attr("title", "API Status: " + data.status + ". Click for details.");
85+
.attr("title", "API Status: " + data.status + ". Click for details.")
86+
.text("Status: " + data.status);
8687
var img = $("<img>")
8788
.attr("src", "/images/status-icon-" + data.status + ".png")
8889
.height(16)

0 commit comments

Comments
 (0)