Commit d7f0ec8e authored by Alejandro Asensio's avatar Alejandro Asensio
Browse files

feat(appearance): avoid using EBI button style

parent 0fa53acb
......@@ -62,26 +62,26 @@
}
}
.dp-button {
background-color: $color--white;
color: $primary;
font-size: 1rem;
font-weight: 700;
border: 4px solid $primary;
border-radius: 0;
padding: 0.5em 1em;
text-decoration: none !important;
transition: all 100ms linear;
cursor: pointer;
// .btn {
// background-color: $color--white;
// color: $primary;
// font-size: 1rem;
// font-weight: 700;
// border: 4px solid $primary;
// border-radius: 0;
// padding: 0.5em 1em;
// text-decoration: none !important;
// transition: all 100ms linear;
// cursor: pointer;
&:hover,
&:focus {
background-color: $primary;
color: $color--white;
border-color: $primary;
}
// &:hover,
// &:focus {
// background-color: $primary;
// color: $color--white;
// border-color: $primary;
// }
&--big {
font-size: 1.25rem;
}
}
// &--big {
// font-size: 1.25rem;
// }
// }
......@@ -39,7 +39,7 @@
{{ end }}
</article>
{{ if isset . "data" }}
<a class="dp-button" href="{{ .data }}" id="download-button-{{ $index }}">{{ i18n "download_csv" }}</a>
<a class="btn btn-primary" href="{{ .data }}" id="download-button-{{ $index }}">{{ i18n "download_csv" }}</a>
{{ end }}
{{ if isset . "partial" }}
{{ partial .partial $parentScope }}
......
......@@ -132,7 +132,7 @@
<div class="row">
<div class="col">
{{ if .abstract }}
<a class="btn btn-link badge badge-primary" data-toggle="collapse" href="#abstract{{ $index }}" role="button" aria-expanded="false" aria-controls="abstract{{ $index }}">
<a class="btn btn-primary btn-link badge badge-primary" data-toggle="collapse" href="#abstract{{ $index }}" role="button" aria-expanded="false" aria-controls="abstract{{ $index }}">
{{ i18n "abstract" }} <i class="bi bi-caret-down-fill"></i>
</a>
<div class="collapse" id="abstract{{ $index }}">
......@@ -140,7 +140,7 @@
</div>
{{ end }}
{{ if .available_data }}
<a class="btn btn-link badge badge-success" data-toggle="collapse" href="#data{{ $index }}" role="button" aria-expanded="false" aria-controls="abstract{{ $index }}">
<a class="btn btn-primary btn-link badge badge-success" data-toggle="collapse" href="#data{{ $index }}" role="button" aria-expanded="false" aria-controls="abstract{{ $index }}">
{{ i18n "related_data" }} <i class="bi bi-caret-down-fill"></i>
</a>
<div class="collapse list-group" id="data{{ $index }}">
......@@ -197,7 +197,7 @@
extend: 'csv',
text: 'Download as CSV',
titleAttr: 'Download table in comma-separated-values format',
className: 'dp-button',
className: 'btn btn-primary',
exportOptions: {
columns: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ],
},
......
......@@ -5,7 +5,7 @@
{{ i18n "using_agreeing" }} <a href="https://www.bsc.es/legal-notice">{{ i18n "privacy_notice" }}</a>.
</p>
<div>
<button class="dp-button dp-button--big" onclick="acceptCookies()">{{ i18n "i_agree" }}</button>
<button class="btn btn-primary btn--big" onclick="acceptCookies()">{{ i18n "i_agree" }}</button>
</div>
</div>
</div>
......
......@@ -44,7 +44,7 @@
extend: 'csv',
text: 'Download as CSV',
titleAttr: 'Download tables in comma-separated-values format',
className: 'dp-button',
className: 'btn btn-primary',
filename: 'cv19dpes_genomic_host_sequences_search',
},
],
......
......@@ -57,7 +57,7 @@
extend: 'csv',
text: 'Download as CSV',
titleAttr: 'Download tables in comma-separated-values format',
className: 'dp-button',
className: 'btn btn-primary',
filename: 'cv19dpes_genomic_viral_sequences_search',
},
],
......
......@@ -60,7 +60,7 @@
</div>
</section>
<div class="col-md-10">
<a id="downloadButton" class="dp-button d-inline-block" target="_blank" href="http://eu-isciii.es/wp-content/uploads/2020/06/Excel-COVID19-Funded-Spain-Projects-v.04.06.2020.xlsx">
<a id="downloadButton" class="btn btn-primary d-inline-block" target="_blank" href="http://eu-isciii.es/wp-content/uploads/2020/06/Excel-COVID19-Funded-Spain-Projects-v.04.06.2020.xlsx">
{{ i18n "download_csv" }}
</a>
<table class="table table-responsive" id="projects-table">
......@@ -87,7 +87,7 @@
<small>{{ .uni_multi_centric }}</small><br>
<small>Clinical trial: {{ .clinical_trial }}</small><br>
<small>Topic call: {{ delimit .topic_call ", " }}</small><br>
<!-- <a class="btn btn-link badge badge-primary" data-toggle="collapse" href="#description-{{ $index }}" role="button" aria-expanded="false" aria-controls="description-{{ $index }}">
<!-- <a class="btn btn-primary btn-link badge badge-primary" data-toggle="collapse" href="#description-{{ $index }}" role="button" aria-expanded="false" aria-controls="description-{{ $index }}">
{{ i18n "project_description" }} <i class="bi bi-caret-down-fill"></i></a>
<div class="collapse" id="description-{{ $index }}">
<p>{{ .description }}</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment