rename btn--create to btn-success

This commit is contained in:
Felix Niklas 2014-09-25 13:51:20 +02:00
parent ea43cd651d
commit a6fb7a6e3b
5 changed files with 7 additions and 6 deletions

View file

@ -36,7 +36,7 @@
<div class="form-actions horizontal"> <div class="form-actions horizontal">
<a class="subtle-link standalone cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a> <a class="subtle-link standalone cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<button type="submit" class="btn btn--create submit align-right"><%- @T( 'Create' ) %></button> <button type="submit" class="btn btn--success submit align-right"><%- @T( 'Create' ) %></button>
</div> </div>
</form> </form>
</div> </div>

View file

@ -10,7 +10,7 @@
<div class="modal-body" id="form-user"></div> <div class="modal-body" id="form-user"></div>
<div class="modal-footer horizontal"> <div class="modal-footer horizontal">
<a class="subtle-link standalone js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a> <a class="subtle-link standalone js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<button type="submit" class="btn btn--create js-submit align-right"><%- @T( 'Create' ) %></button> <button type="submit" class="btn btn--success js-submit align-right"><%- @T( 'Create' ) %></button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -18,7 +18,7 @@
<div class="form-actions horizontal"> <div class="form-actions horizontal">
<a class="subtle-link standalone cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a> <a class="subtle-link standalone cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<button type="submit" class="btn btn--create submit align-right"><%- @T( 'Create' ) %></button> <button type="submit" class="btn btn--success submit align-right"><%- @T( 'Create' ) %></button>
</div> </div>
</form> </form>

View file

@ -22,7 +22,7 @@
<a class="subtle-link standalone js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a> <a class="subtle-link standalone js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<% end %> <% end %>
<% if @button: %> <% if @button: %>
<button type="submit" class="btn btn--create js-submit align-right"><%- @T( @button ) %></button> <button type="submit" class="btn btn--success js-submit align-right"><%- @T( @button ) %></button>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -1418,8 +1418,9 @@ footer {
border-color: #419ed7; border-color: #419ed7;
} }
.btn--create, .btn--success,
.btn--create:hover { .btn--success:hover,
.btn--success:focus {
color: white; color: white;
background: hsl(145,51%,45%); background: hsl(145,51%,45%);
} }