Changeset - 9cbf386ea529
[Not reviewed]
default
0 3 0
Mads Kiilerich - 9 years ago 2016-10-21 01:01:05
madski@unity3d.com
style: use Bootstrap compatible btn-danger instead of red ... and similar for other button types

Based on work by Dominik Ruf.
3 files changed with 6 insertions and 7 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -3191,7 +3191,7 @@ input[disabled].btn,
 
    box-shadow: none !important;
 
}
 

	
 
.btn.red {
 
.btn.btn-danger {
 
    color: #fff;
 
    background-color: #c43c35;
 
    background-repeat: repeat-x;
 
@@ -3200,8 +3200,7 @@ input[disabled].btn,
 
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
 
}
 

	
 

	
 
.btn.blue {
 
.btn.btn-primary {
 
    color: #fff;
 
    background-color: #339bb9;
 
    background-repeat: repeat-x;
 
@@ -3210,7 +3209,7 @@ input[disabled].btn,
 
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
 
}
 

	
 
.btn.green {
 
.btn.btn-success {
 
    color: #fff;
 
    background-color: #57a957;
 
    background-repeat: repeat-x;
 
@@ -3219,7 +3218,7 @@ input[disabled].btn,
 
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
 
}
 

	
 
.btn.yellow {
 
.btn.btn-warning {
 
    color: #fff;
 
    background-color: #faa732;
 
    background-repeat: repeat-x;
kallithea/templates/admin/repo_groups/repo_group_edit_settings.html
Show inline comments
 
@@ -50,7 +50,7 @@ ${h.form(url('delete_repo_group', group_
 
<div class="form">
 
    <div class="form-horizontal">
 
        <div class="buttons">
 
            ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn red",onclick="return confirm('"+_('Confirm to delete this group')+"');")}
 
            ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")}
 
        </div>
 
    </div>
 
</div>
kallithea/templates/search/search.html
Show inline comments
 
@@ -51,7 +51,7 @@ ${self.repo_context_bar('options')}
 
             </div>
 
                <div class="input">${h.text('q',c.cur_query,class_="small")}
 
                    <div class="button highlight">
 
                        <input type="submit" value="${_('Search')}" class="btn"/>
 
                        <input type="submit" value="${_('Search')}" class="btn btn-default"/>
 
                    </div>
 
                </div>
 
                <div style="font-weight: bold;clear:both;margin-left:200px">${c.runtime}</div>
0 comments (0 inline, 0 general)