1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Merge branch 'front_erdnaxe' into 'beta'

Front erdnaxe

See merge request bde/nk20!101
This commit is contained in:
erdnaxe 2020-09-01 10:07:25 +02:00
commit dbca5db7d7
3 changed files with 29 additions and 6 deletions

View File

@ -19,7 +19,7 @@
<img src="/media/pic/default.png" <img src="/media/pic/default.png"
id="profile_pic" alt="" class="card-img-top"> id="profile_pic" alt="" class="card-img-top">
</a> </a>
<div class="card-body text-center"> <div class="card-body text-center text-break">
<span id="user_note"></span> <span id="user_note"></span>
</div> </div>
</div> </div>

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
{# bandeau transfert/crédit/débit/activité #} {# bandeau transfert/crédit/débit/activité #}
<div class="row"> <div class="row">
<div class="col-xl-12"> <div class="col-xl-12">
<div class="btn-group btn-group-toggle bg-light" style="width: 100%" data-toggle="buttons"> <div class="btn-group btn-group-toggle btn-block" data-toggle="buttons">
<label for="type_transfer" class="btn btn-sm btn-outline-primary active"> <label for="type_transfer" class="btn btn-sm btn-outline-primary active">
<input type="radio" name="transaction_type" id="type_transfer"> <input type="radio" name="transaction_type" id="type_transfer">
{% trans "Transfer" %} {% trans "Transfer" %}

View File

@ -5,18 +5,21 @@
/* Opaque tooltip with white background */ /* Opaque tooltip with white background */
.tooltip.show { .tooltip.show {
opacity: 1; opacity: 1;
} }
.tooltip-inner { .tooltip-inner {
background-color: #fff; background-color: #fff;
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
border: 1px solid rgba(0,0,0,.250); border: 1px solid rgba(0, 0, 0, .250);
color: #000; color: #000;
margin: 0 .5rem .25rem .5rem; margin: 0 .5rem .25rem .5rem;
padding: 0; padding: 0;
width: 200px;
} }
.bs-tooltip-bottom .arrow::before { .bs-tooltip-bottom .arrow::before {
border-bottom-color: rgba(0,0,0,.250); border-bottom-color: rgba(0, 0, 0, .250);
} }
/* Limit fluid container to a max size */ /* Limit fluid container to a max size */
@ -48,10 +51,30 @@ select.language {
.bg-primary { .bg-primary {
background-color: rgb(0, 119, 139) !important; background-color: rgb(0, 119, 139) !important;
} }
html { html {
scrollbar-color: rgba(121, 121, 123, 1) rgba(35, 35, 39, 1); scrollbar-color: rgba(121, 121, 123, 1) rgba(35, 35, 39, 1);
} }
body { body {
background-color: rgba(64, 64, 64, 1); background-color: rgba(64, 64, 64, 1);
background-image: url(../img/background-texture.png); background-image: url(../img/background-texture.png);
} }
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);
}
.btn-outline-primary {
color: rgb(0, 119, 139);
background-color: rgba(248, 249, 250, 0.9);
border-color: rgb(0, 119, 139);
}
.turbolinks-progress-bar {
background-color: #01D3FB;
}