Commit 03fddf861e3f80b369a338ba5adc6b18288c8ab3
add btn-primary style for pages with important regular actions
mix irving committed on 10/9/2016, 11:15:47 AMParent: 16ecf8ef7caacae1c5e09940673be1e3a0a964b7
Files changed
lib/repos/issues.js | changed |
static/styles.css | changed |
lib/repos/issues.js | |||
---|---|---|---|
@@ -39,9 +39,9 @@ | |||
39 | 39 … | pull.once( | |
40 | 40 … | (self.web.isPublic ? '' : | |
41 | 41 … | '<form class="right-bar" method="get"' + | |
42 | 42 … | ' action="' + u.encodeLink(newPath) + '">' + | |
43 | - '<button class="btn">+ ' + | ||
43 … | + '<button class="btn btn-primary">+ ' + | ||
44 | 44 … | req._t(isPRs ? 'pullRequest.New' : 'issue.New') + | |
45 | 45 … | '</button>' + | |
46 | 46 … | '</form>') + | |
47 | 47 … | '<h3>' + req._t(isPRs ? 'PullRequests' : 'Issues') + '</h3>' + |
static/styles.css | ||
---|---|---|
@@ -180,8 +180,18 @@ | ||
180 | 180 … | background: #ddd; |
181 | 181 … | border: 1px solid #ccc; |
182 | 182 … | } |
183 | 183 … | |
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 … | + | |
184 | 194 … | .name { |
185 | 195 … | font-size: inherit; |
186 | 196 … | margin-left: 1ex; |
187 | 197 … | width: 20em; |
Built with git-ssb-web