Skip to content
Snippets Groups Projects
Commit 7d392179 authored by Sebastien's avatar Sebastien
Browse files

Refactor create capsule button

parent 4e1e8916
No related branches found
No related tags found
2 merge requests!68Tuleap 134 unify css,!64Refactoring css
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
@import "~bootstrap/scss/bootstrap"; @import "~bootstrap/scss/bootstrap";
@import "~bootstrap/scss/variables"; @import "~bootstrap/scss/variables";
@import "./layout/header"; @import "./layout/header";
@import "~bootstrap/scss/_mixins.scss";
body { body {
height:100%; height:100%;
...@@ -46,21 +47,9 @@ button[type=submit]{ ...@@ -46,21 +47,9 @@ button[type=submit]{
opacity: 1; opacity: 1;
} }
#btn-orange { $orange-button-bt: #FA772E;
background: #FA772E; .btn-orange {
color: white; @include button-variant($orange-button-bt, $orange-button-bt, white, #f05b2b, #f05b2b);
border: none;
border-radius: 3px;
line-height: 1.5;
font-size: 1rem;
padding: .5rem 1rem;
text-align: center;
text-transform: uppercase;
box-shadow: 0 -2px 0 #f05b2b inset;
}
#btn-orange:hover {
background: #f05b2b;
} }
#user-block { #user-block {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
{% endif %} {% endif %}
<form class="d-flex mb-4 mb-lg-0"> <form class="d-flex mb-4 mb-lg-0">
<button id="btn-orange" formaction="/create"> <button class="btn btn-orange text-uppercase" formaction="/create">
+ {{ 'capsule.create_capsule'|trans }} + {{ 'capsule.create_capsule'|trans }}
</button> </button>
</form> </form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment