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

Remove unecessary id element for edit capsule button

parent 8ede2bb3
No related branches found
No related tags found
2 merge requests!68Tuleap 134 unify css,!64Refactoring css
...@@ -40,18 +40,15 @@ button[type=submit]{ ...@@ -40,18 +40,15 @@ button[type=submit]{
height: 200px; height: 200px;
} }
.btn-primary {
background: rgba(0,0,0,.1);
border: none;
border-radius: 3px;
opacity: 1;
}
$orange-button-bt: #FA772E; $orange-button-bt: #FA772E;
.btn-orange { .btn-orange {
@include button-variant($orange-button-bt, $orange-button-bt, white, #f05b2b, #f05b2b); @include button-variant($orange-button-bt, $orange-button-bt, white, #f05b2b, #f05b2b);
} }
.btn-standard {
@include button-variant(#49AD9A, #49AD9A, white, #3B8C7E, #3B8C7E);
}
.gray-600 { .gray-600 {
color:$gray-600; color:$gray-600;
} }
...@@ -72,23 +69,6 @@ $orange-button-bt: #FA772E; ...@@ -72,23 +69,6 @@ $orange-button-bt: #FA772E;
color: rgba(255,255,255,.75); color: rgba(255,255,255,.75);
} }
.standard-button {
line-height: 40px;
padding: 0.5em 2em;
font-size: 16px;
font-weight: bold;
border: none;
color: #FFF !important;
border-radius: 3px;
background: #49AD9A;
box-shadow: 0 -2px 0 #3B8C7E inset;
flex-basis: auto;
}
.standard-button:hover {
background: #3B8C7E;
}
.row-title-box { .row-title-box {
border-bottom: 2px solid rgba(0,0,0,.2); border-bottom: 2px solid rgba(0,0,0,.2);
margin-bottom: 60px; margin-bottom: 60px;
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
{% endif %} {% endif %}
<a href="capsule/edit/{{ capsule.getLinkPath() }}" class="list-item text-nowrap lh-md"> <a href="capsule/edit/{{ capsule.getLinkPath() }}" class="list-item text-nowrap lh-md">
<button class="standard-button p-2"> <button class="bt btn-standard px-4 py-4 fw-bold rounded-3">
{{ 'capsule.edit.link'|trans }} {{ 'capsule.edit.link'|trans }}
</button> </button>
</a> </a>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="d-flex justify-content-center align-items-center"> <div class="d-flex justify-content-center align-items-center">
<form> <form>
<button id="btn-primary" formaction="/capsule_list"> <button class="btn btn-primary" formaction="/capsule_list">
{{ 'general.go_back_to_home_page'|trans }} {{ 'general.go_back_to_home_page'|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