git ssb

30+

cel / git-ssb-web



Commit 03fddf861e3f80b369a338ba5adc6b18288c8ab3

add btn-primary style for pages with important regular actions

mix irving committed on 10/9/2016, 11:15:47 AM
Parent: 16ecf8ef7caacae1c5e09940673be1e3a0a964b7

Files changed

lib/repos/issues.jschanged
static/styles.csschanged
lib/repos/issues.jsView
@@ -39,9 +39,9 @@
3939 pull.once(
4040 (self.web.isPublic ? '' :
4141 '<form class="right-bar" method="get"' +
4242 ' action="' + u.encodeLink(newPath) + '">' +
43- '<button class="btn">&plus; ' +
43 + '<button class="btn btn-primary">&plus; ' +
4444 req._t(isPRs ? 'pullRequest.New' : 'issue.New') +
4545 '</button>' +
4646 '</form>') +
4747 '<h3>' + req._t(isPRs ? 'PullRequests' : 'Issues') + '</h3>' +
static/styles.cssView
@@ -180,8 +180,18 @@
180180 background: #ddd;
181181 border: 1px solid #ccc;
182182 }
183183
184 +.btn.btn-primary {
185 + background: #0092db;
186 + border: none;
187 + color: #fff;
188 +}
189 +
190 +.btn.btn-primary:hover {
191 + background: #03a7f9;
192 +}
193 +
184194 .name {
185195 font-size: inherit;
186196 margin-left: 1ex;
187197 width: 20em;

Built with git-ssb-web