1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-01-26 01:51:17 +00:00

Les couleurs des surviva[list]s

This commit is contained in:
quark 2025-01-20 18:26:51 +01:00
parent 3faf611816
commit 2ec5a0d9ca
2 changed files with 22 additions and 144 deletions

161
note_kfet/static/css/custom.css Executable file → Normal file
View File

@ -3,10 +3,6 @@
text-decoration: underline;
}
.underline {
text-decoration: underline;
}
/* Opaque tooltip with white background */
.tooltip.show {
opacity: 1;
@ -69,14 +65,7 @@ mark {
/* Last BDE colors */
.bg-primary {
/* background-color: rgb(0, 0, 0) !important; */
/* MODE VIEUXCON=ON */
/*Listo/*
/* background-color: rgb(166, 0, 2) !important; */
/*Finalist*/
/* background-color: rgb(0, 119, 139) !important;*/
/*Saperlist*/
background-color: rgb(18, 67, 4) !important;
background-color: rgb(102, 83, 105) !important;
}
html {
@ -91,170 +80,54 @@ body {
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
background-color: rgb(102, 83, 105);
border-color: rgb(102, 83, 105);
}
.btn-outline-primary {
/*Last BDE*/
/* color: #fff;
background-color: #000;
border-color: #464647;*/
/*Pot Vieux*/
/*Finalist*/
/*color: rgb(0, 119, 139);
color: rgb(102, 83, 105);
background-color: rgba(248, 249, 250, 0.9);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: rgb(18, 67, 46);
background-color: rgba(248, 249, 250, 0.9);
border-color: rgb(18, 67, 46);
border-color: rgb(102, 83, 105);
}
.turbolinks-progress-bar {
/*Last BDE*/
/*background-color: #12432E;*/
/*Pot Vieux*/
/*Finalist*/
/*background-color: #01D3FB;*/
/*Saperlist*/
background-color: #12432E;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);/*
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
background-color: rgb(102, 83, 105);
border-color: rgb(102, 83, 105);
}
.btn-primary {
/*Last BDE*/
/* color: #fff;
background-color: #000;
border-color: #adb5bd;*/
/*Pot Vieux*/
/*Saperlist*/
color: rgba(248, 249, 250, 0.9);
background-color: rgb(28, 114, 10);
border-color: rgb(18, 67, 46);
background-color: rgb(102, 83, 105);
border-color: rgb(102, 83, 105);
}
.border-primary {
/*Last BDE*/
/* border-color: rgb(228, 35, 132) !important;*/
/*Pot Vieux*/
/*Saperlist*/
border-color: rgb(28, 114, 10) !important;
border-color: rgb(115, 15, 115) !important;
}
.btn-secondary {
/*Last BDE*/
/* color: #fff;
background-color: #000;
border-color: #adb5bd;*/
/*Pot Vieux*/
/*Saperlist*/
color: rgba(248, 249, 250, 0.9);
background-color: rgb(28, 114, 10);
border-color: rgb(18, 67, 46);
}
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);/*
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
}
.btn-outline-dark {
color: #343a40;
border-color: #343a40;
}
.btn-outline-dark:hover,
.btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
}
a {
/*Last BDE*/
/* color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
color: rgb(28, 114, 10);
color: rgb(102, 83, 105);
}
a:hover {
/*Last BDE*/
/* color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
color: rgb(122, 163, 75);
color: rgb(200, 30, 200);
}
.form-control:focus {
/*Last BDE*/
/* box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 50%);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
box-shadow: 0 0 0 0.25rem rgba(122, 163, 75, 0.25);
border-color: rgb(122, 163, 75);
box-shadow: 0 0 0 0.25rem rgba(200, 30, 200, 0.25);
border-color: rgb(200, 30, 200);
}
.btn-outline-primary.focus {
/*Last BDE*/
/* box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 10%);*/
/*Pot Vieux*/
/*Saperlist*/
box-shadow: 0 0 0 0.25rem rgba(122, 163, 75, 0.5);
box-shadow: 0 0 0 0.25rem rgba(200, 30, 200, 0.5);
}

View File

@ -159,6 +159,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
</nav>
<div class="{% block containertype %}container{% endblock %} my-3">
<div id="messages">
{% if user.is_authenticated %}
<div class="alert alert-info">
Les fossiles sont à l'honneur cette semaine, la Note change d'habit rien que pour elleux !
</div>
{% endif %}
{% if user.is_authenticated %}
{% if not user|is_member:"BDE" %}
<div class="alert alert-danger">