Commit 060f43e2 by Gwenaël Léger

Refonte de la home de l'espace membre

parent e5493c3e
Pipeline #3955 failed with stage
...@@ -144,7 +144,7 @@ ENTRANCE_VALIDATE_PRESENCE_MESSAGE = """ ...@@ -144,7 +144,7 @@ ENTRANCE_VALIDATE_PRESENCE_MESSAGE = """
</div> </div>
Ton prochain service <span class="service_verb">est prévu</span> le <span class="next_shift"></span> Ton prochain service <span class="service_verb">est prévu</span> le <span class="next_shift"></span>
""" """
MEMBERS_SPACE_FAQ_TEMPLATE = 'members_space/supercafoutch/faq.html' MEMBERS_SPACE_FAQ_TEMPLATE = None
MEMBERS_SPACE_HOME_TEMPLATE = 'members_space/supercafoutch/home.html' MEMBERS_SPACE_HOME_TEMPLATE = 'members_space/supercafoutch/home.html'
MEMBERS_SPACE_SHOW_UNDERSTAND_MY_STATUS = False MEMBERS_SPACE_SHOW_UNDERSTAND_MY_STATUS = False
BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE = False BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE = False
......
...@@ -8,7 +8,7 @@ body { ...@@ -8,7 +8,7 @@ body {
@media screen and (max-width: 435px) { @media screen and (max-width: 435px) {
.page_title { .page_title {
margin: 4vw 0 3vw 0; margin: 4vw 0 3vw 0;
} }
} }
...@@ -32,11 +32,13 @@ body { ...@@ -32,11 +32,13 @@ body {
align-items: center; align-items: center;
border-radius: 30px; border-radius: 30px;
margin: 1rem 1rem; margin: 1rem 1rem;
box-shadow: 2px 2px 3px rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.1); box-shadow: 2px 2px 3px rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .1);
} }
.high_tile { .high_tile {
min-height: 350px; min-height: 350px;
} }
.small_tile { .small_tile {
min-height: 250px; min-height: 250px;
} }
...@@ -69,7 +71,7 @@ body { ...@@ -69,7 +71,7 @@ body {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
...@@ -81,6 +83,7 @@ body { ...@@ -81,6 +83,7 @@ body {
margin: auto; margin: auto;
padding: 2rem 0; padding: 2rem 0;
} }
@media screen and (min-width: 769px) { @media screen and (min-width: 769px) {
#home_tile_my_services .tile_content { #home_tile_my_services .tile_content {
width: 50%; width: 50%;
...@@ -158,6 +161,7 @@ body { ...@@ -158,6 +161,7 @@ body {
display: flex; display: flex;
margin-bottom: 20px; margin-bottom: 20px;
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
#member_status_action { #member_status_action {
margin-top: 5px; margin-top: 5px;
...@@ -189,8 +193,8 @@ body { ...@@ -189,8 +193,8 @@ body {
@media (max-width: 435px) { @media (max-width: 435px) {
.unsuscribed_form_link { .unsuscribed_form_link {
font-size: 90%; font-size: 90%;
line-height: 7vw; line-height: 7vw;
} }
} }
...@@ -198,10 +202,12 @@ body { ...@@ -198,10 +202,12 @@ body {
.member_status_exempted { .member_status_exempted {
color: #5cb85c; color: #5cb85c;
} }
.member_status_alert, .member_status_alert,
.member_status_delay { .member_status_delay {
color: #f0ad4e; color: #f0ad4e;
} }
.member_status_suspended, .member_status_suspended,
.member_status_unsubscribed { .member_status_unsubscribed {
color: #d9534f; color: #d9534f;
...@@ -259,9 +265,11 @@ body { ...@@ -259,9 +265,11 @@ body {
#go_to_forms { #go_to_forms {
text-decoration: none; text-decoration: none;
} }
#go_to_forms:hover { #go_to_forms:hover {
color: white; color: white;
} }
#go_to_forms.active { #go_to_forms.active {
color: white !important; color: white !important;
} }
...@@ -286,7 +294,12 @@ body { ...@@ -286,7 +294,12 @@ body {
flex: 1 0 50%; flex: 1 0 50%;
} }
.shop_info_item h1,h2,h3,h4,h5,h6 { .shop_info_item h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 2rem; font-size: 2rem;
} }
...@@ -304,6 +317,7 @@ body { ...@@ -304,6 +317,7 @@ body {
.shop_info_item { .shop_info_item {
padding: 0 4rem; padding: 0 4rem;
} }
.shop_message { .shop_message {
border-left: 1px solid #e7e9ed; border-left: 1px solid #e7e9ed;
margin: 3rem 0; margin: 3rem 0;
...@@ -314,21 +328,31 @@ body { ...@@ -314,21 +328,31 @@ body {
#shop_info_content { #shop_info_content {
flex-direction: column; flex-direction: column;
} }
.shop_info_item { .shop_info_item {
flex: 1 0 50%; flex: 1 0 50%;
width: 100%; width: 100%;
font-size: 1.6rem; font-size: 1.6rem;
padding: 1.5rem 0; padding: 1.5rem 0;
} }
.shop_info_item h1,h2,h3,h4,h5,h6 {
.shop_info_item h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 1.6rem; font-size: 1.6rem;
} }
.opening_hours_title { .opening_hours_title {
font-size: 1.9rem; font-size: 1.9rem;
} }
.shop_message { .shop_message {
border-top: 1px solid #e7e9ed; border-top: 1px solid #e7e9ed;
} }
.shop_message_content { .shop_message_content {
width: 90%; width: 90%;
} }
...@@ -361,4 +385,17 @@ body { ...@@ -361,4 +385,17 @@ body {
.free_service_exchange { .free_service_exchange {
display: none; display: none;
}
.utils-link-content {
display: grid;
width: 100%;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
@media screen and (max-width: 992px) {
.utils-link-content {
grid-template-columns: 1fr;
}
} }
\ No newline at end of file
...@@ -77,17 +77,25 @@ ...@@ -77,17 +77,25 @@
<div class="tile small_tile" id="home_tile_help"> <div class="tile small_tile" id="home_tile_help">
<div class="tile_title"> <div class="tile_title">
<i class="fas fa-question-circle tile_icon"></i> <i class="fas fa-question-circle tile_icon"></i>
J'ai une demande Liens utiles
</div> </div>
<div class="tile_content"> <div class="tile_content">
<div class="home_link_button_area"> <div class="utils-link-content">
<a <button type="button" class="btn--primary home_link_button" onclick="window.open('https://docs.google.com/document/d/1y8yTZMkfplJwT3ZC9Swg_3qWPfUpnKcxcXZEqzI8GvY/edit?usp=sharing/edit?tab=t.0','_blank')">
href="javascript:void(0);" Présentation des Comités
class="btn--primary home_link_button" </button>
id="go_to_forms"
> <button type="button" class="btn--primary home_link_button" onclick="window.open('https://docs.google.com/document/d/120y2lHPyUf_NplfSnpE1YmUyKKB_XIp0Tvm93moVUyA/edit?tab=t.0','_blank')">
Accéder à la FAQ Calendrier des semaines ABCD
</a> </button>
<button type="button" class="btn--primary home_link_button" onclick="window.open('https://docs.google.com/spreadsheets/d/1PbiplAagkVMhOMKGgut-G0O274M9KmrWLkbJ_HtlVw8/edit?usp=sharing/edit?tab=t.0','_blank')">
Calendrier des évènements
</button>
<button type="button" class="btn--primary home_link_button" onclick="window.open('https://docs.google.com/document/d/1du93Cw0xXLSl-wsVswccTddHlxwee59xxopT7j-X7vo/edit?usp=sharing','_blank')">
FAQ : Foire Aux Questions
</button>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
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