diff --git a/static/css/style.css b/static/css/style.css index 68038d9..071633d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -175,6 +175,12 @@ nav .right { -ms-flex-align: center; align-items: center; } +nav .right .opennavmobile { + display: none; + cursor: pointer; + font-size: 60px; + color: #efefef; +} nav .right img { width: 50px; cursor: pointer; @@ -197,6 +203,65 @@ nav .right .search:hover { color: #00E8C2; } +.navbar-mobile { + display: none; + -webkit-transform: translateX(100%); + transform: translateX(100%); + position: fixed; + width: 100%; + -webkit-transition: all ease-in-out 0.3s; + transition: all ease-in-out 0.3s; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + height: 100vh; + background: #303030; + top: 0; + left: 0; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + z-index: 9998; +} +.navbar-mobile.open { + -webkit-transform: translateX(0) !important; + transform: translateX(0) !important; +} +.navbar-mobile .closenavmobile { + position: fixed; + top: 20px; + right: 20px; + color: #efefef; + font-size: 70px; + cursor: pointer; +} +.navbar-mobile a { + font-size: 35px; + padding: 30px 0; +} +.navbar-mobile i { + font-size: 50px; +} + +@media all and (max-width: 800px) { + .navbar-mobile { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + + nav .left .submenu, nav .right a { + display: none; + } + + nav .opennavmobile { + display: block !important; + } +} .flex-card { display: -webkit-box; display: -ms-flexbox; @@ -268,6 +333,7 @@ nav .right .search:hover { position: fixed; display: none; padding: 30px; + overflow: auto; padding-top: 100px; height: 100vh; z-index: 9999; @@ -351,6 +417,8 @@ nav .right .search:hover { display: -webkit-box; display: -ms-flexbox; display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly; @@ -402,6 +470,20 @@ nav .right .search:hover { margin-left: 15px; } +@media all and (max-width: 1060px) { + .search-col, .flex-card .card { + -webkit-box-flex: 0 !important; + -ms-flex: 0 1 45% !important; + flex: 0 1 45% !important; + } +} +@media all and (max-width: 750px) { + .search-col, .flex-card .card { + -webkit-box-flex: 0 !important; + -ms-flex: 0 1 90% !important; + flex: 0 1 90% !important; + } +} .personnal-info { display: -webkit-box; display: -ms-flexbox; diff --git a/static/css/style.css.map b/static/css/style.css.map index 6ac297d..7943818 100644 --- a/static/css/style.css.map +++ b/static/css/style.css.map @@ -1 +1 @@ -{"version":3,"sources":["../scss/base/font.scss","../scss/layouts/global.scss","../scss/base/colors.scss","style.css","../scss/base/mixins.scss","../scss/layouts/nav.scss","../scss/layouts/cards.scss","../scss/layouts/quicksearch.scss","../scss/layouts/personnes.scss","../scss/layouts/regilog.scss","../scss/layouts/article-detail.scss"],"names":[],"mappings":"AAAQ,8EAAA;AACA,yEAAA;ACDR;EACI,yBCDS;EDET,UAAA;EACA,SAAA;AEGJ;;AFAA;EGLE,iCAAA;ADSF;;AFAA;EACI,qBAAA;AEGJ;;AFAA;EACI,eAAA;EACA,kBAAA;EACA,cAAA;EACA,cCdK;ACiBT;;AFAA;EACI,eAAA;EACA,cClBI;ACqBR;;AFAA;EACI,eAAA;AEGJ;;AFAA;EACI,cAAA;EACA,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,cC7BI;ED8BJ,kBAAA;EACA,yBAAA;EACA,eAAA;AEGJ;AFFI;EACE,cCnCG;EDoCH,qBCpCG;ACwCT;;AFAA;EACI,aAAA;AEGJ;;AFAA;EG3CE,+BAAA;EH6CE,iCAAA;UAAA,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,iCAAA;UAAA,yBAAA;EACA,cC9CI;ACiDR;;AFAA;EACI,yBAAA;AEGJ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cP7BG;ACkaT;AMlYE;EACE,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,kBAAA;EACA,cAAA;EACA,YAAA;EACA,cPxCK;EOyCL,yBAAA;EACA,eAAA;ANoYJ;;AOjbE;EACE,SAAA;EACA,eAAA;EACA,kBAAA;EACA,kBAAA;EACA,cRDI;ACqbR;AOlbE;EACE,kBAAA;EACA,gBAAA;APobJ;AOlbE;EACE,oBAAA;EAAA,oBAAA;EAAA,aAAA;EACA,cAAA;EACA,8BAAA;MAAA,2BAAA;UAAA,6BAAA;EACA,yBAAA;MAAA,sBAAA;UAAA,mBAAA;APobJ;AOnbI;EACE,YAAA;APqbN;AOlbE;EACE,oBAAA;EAAA,oBAAA;EAAA,aAAA;EACA,8BAAA;MAAA,2BAAA;UAAA,6BAAA;EACA,yBAAA;MAAA,sBAAA;UAAA,mBAAA;EACA,mBRxBU;EQyBV,aAAA;EACA,cAAA;APobJ;AOnbI;EACE,kBAAA;APqbN;AOnbI;EACE,cR5BG;ACidT;;AO/aE;EACE,cAAA;APkbJ;AOhbE;EACE,mBAAA;APkbJ;AOhbE;EACE,iBAAA;EACA,cAAA;APkbJ;AOjbI;EACE,WAAA;APmbN;AOjbI;EACE,mBRnDO;ACseb;AOjbI;EACE,gBAAA;APmbN;AOhbE;EACE,uBAAA;EACA,cRtDI;EQuDJ,cAAA;EACA,eAAA;EACA,WAAA;EACA,uBAAA;EACA,mBAAA;APkbJ;AOjbI;EACE,cR5DG;AC+eT;AOpbI;EACE,cR5DG;AC+eT;AOpbI;EACE,cR5DG;AC+eT;AOpbI;EACE,cR5DG;AC+eT;AOpbI;EACE,cR5DG;AC+eT;AOhbE;EACE,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,kBAAA;EACA,cAAA;EACA,YAAA;EACA,cRvEK;EQwEL,yBAAA;EACA,eAAA;APkbJ","file":"style.css"} \ No newline at end of file +{"version":3,"sources":["../scss/base/font.scss","../scss/layouts/global.scss","../scss/base/colors.scss","style.css","../scss/base/mixins.scss","../scss/layouts/nav.scss","../scss/layouts/cards.scss","../scss/layouts/quicksearch.scss","../scss/layouts/personnes.scss","../scss/layouts/regilog.scss","../scss/layouts/article-detail.scss"],"names":[],"mappings":"AAAQ,8EAAA;AACA,yEAAA;ACDR;EACI,yBCDS;EDET,UAAA;EACA,SAAA;AEGJ;;AFAA;EGLE,iCAAA;ADSF;;AFAA;EACI,qBAAA;AEGJ;;AFAA;EACI,eAAA;EACA,kBAAA;EACA,cAAA;EACA,cCdK;ACiBT;;AFAA;EACI,eAAA;EACA,cClBI;ACqBR;;AFAA;EACI,eAAA;AEGJ;;AFAA;EACI,cAAA;EACA,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,cC7BI;ED8BJ,kBAAA;EACA,yBAAA;EACA,eAAA;AEGJ;AFFI;EACE,cCnCG;EDoCH,qBCpCG;ACwCT;;AFAA;EACI,aAAA;AEGJ;;AFAA;EG3CE,+BAAA;EH6CE,iCAAA;UAAA,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,yBAAA;EACA,cC9CI;ACiDR;;AFNA;EG3CE,+BAAA;EH6CE,iCAAA;UAAA,yBAAA;EACA,cC9CI;ACiDR;;AFAA;EACI,yBAAA;AEGJ;;AFAA;EACE,kBAAA;EACA,mBAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;AEGF;;AFDA;EACE;IACE,YAAA;EEIF;AACF;AFFA;EACE;IACE,YAAA;EEIF;AACF;AFFA;EACE;IACE,aAAA;EEIF;AACF;AFDA;EACE,oBAAA;AEGF;;AFAA;EACE,UAAA;EACA,cAAA;EACA,YAAA;AEGF;;AE3FA;EACE,yBAAA;EACA,iBAAA;EACA,oBAAA;EAAA,oBAAA;EAAA,aAAA;EACA,qBAAA;MAAA,iBAAA;EACA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ACuiBb;AOlfI;EACE,gBAAA;APofN;AOjfE;EACE,uBAAA;EACA,cRtDI;EQuDJ,cAAA;EACA,eAAA;EACA,WAAA;EACA,uBAAA;EACA,mBAAA;APmfJ;AOlfI;EACE,cR5DG;ACgjBT;AOrfI;EACE,cR5DG;ACgjBT;AOrfI;EACE,cR5DG;ACgjBT;AOrfI;EACE,cR5DG;ACgjBT;AOrfI;EACE,cR5DG;ACgjBT;AOjfE;EACE,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,kBAAA;EACA,cAAA;EACA,YAAA;EACA,cRvEK;EQwEL,yBAAA;EACA,eAAA;APmfJ","file":"style.css"} \ No newline at end of file diff --git a/static/scss/layouts/nav.scss b/static/scss/layouts/nav.scss index c1d8995..b48fe8f 100644 --- a/static/scss/layouts/nav.scss +++ b/static/scss/layouts/nav.scss @@ -34,6 +34,12 @@ nav{ display: flex; justify-content: right; align-items: center; + .opennavmobile{ + display: none; + cursor: pointer; + font-size: 60px; + color: $light; + } img{ width: 50px; cursor: pointer; @@ -54,4 +60,51 @@ nav{ } } } +} + +.navbar-mobile{ + &.open{ + transform: translateX(0) !important; + } + display: none; + transform: translateX(100%); + .closenavmobile{ + position: fixed; + top: 20px; + right: 20px; + color: $light; + font-size: 70px; + cursor: pointer; + } + position: fixed; + width: 100%; + transition: all ease-in-out 0.3s; + align-items: center; + height: 100vh; + background: $background2; + top: 0; + left: 0; + justify-content: center; + flex-direction: column; + z-index: 9998; + a{ + font-size: 35px; + padding: 30px 0; + } + i{ + font-size: 50px; + } +} + +@media all and (max-width: 800px){ + .navbar-mobile{ + display: flex !important; + } + nav .left .submenu, nav .right a{ + display: none; + } + + nav .opennavmobile{ + display: block !important; + } } \ No newline at end of file diff --git a/static/scss/layouts/quicksearch.scss b/static/scss/layouts/quicksearch.scss index 4381328..d780fff 100644 --- a/static/scss/layouts/quicksearch.scss +++ b/static/scss/layouts/quicksearch.scss @@ -2,6 +2,7 @@ position: fixed; display: none; padding: 30px; + overflow: auto; padding-top: 100px; height: 100vh; z-index: 9999; @@ -57,6 +58,7 @@ } .flex-search{ display: flex; + flex-wrap: wrap; justify-content: space-evenly; align-items: center; .search-col{ @@ -91,4 +93,16 @@ } } } +} + +@media all and (max-width: 1060px){ + .search-col, .flex-card .card{ + flex: 0 1 45% !important; + } +} + +@media all and (max-width: 750px){ + .search-col, .flex-card .card{ + flex: 0 1 90% !important; + } } \ No newline at end of file diff --git a/templates/article/edit.html b/templates/article/edit.html index 3685882..2d84309 100644 --- a/templates/article/edit.html +++ b/templates/article/edit.html @@ -1,10 +1,34 @@ +{% load static %} + + + + {{ form.media }} + -
+{% include 'quicksearch.html' %} + +
+

Ajouter un article

+ {% csrf_token %} {{ form }} +
diff --git a/templates/article/submit.html b/templates/article/submit.html index 1beb990..d0317a6 100644 --- a/templates/article/submit.html +++ b/templates/article/submit.html @@ -15,7 +15,7 @@
diff --git a/templates/base.html b/templates/base.html index c7a66a4..c5ceca8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,11 +25,36 @@ {% else %} Login {% endif %} + menu
- +
{% block content %} {% endblock %}
+ diff --git a/templates/boat/boats.html b/templates/boat/boats.html index d81bb5e..7a2534c 100644 --- a/templates/boat/boats.html +++ b/templates/boat/boats.html @@ -1,6 +1,7 @@ {% extends 'base.html' %} {% load static %} {% block content %} + +

Bateaux

diff --git a/templates/boat/submit.html b/templates/boat/submit.html index 8b0a4ec..31c8988 100644 --- a/templates/boat/submit.html +++ b/templates/boat/submit.html @@ -1,10 +1,34 @@ +{% load static %} + + + + {{ form.media }} + -
+ {% include 'quicksearch.html' %} + +
+

Ajouter un bateau

+ {% csrf_token %} {{ form }} - + +
diff --git a/templates/error.html b/templates/error.html index 8ed7b0e..8bee07e 100644 --- a/templates/error.html +++ b/templates/error.html @@ -1,6 +1,10 @@ +{% extends 'base.html' %} +{% load static %} +{% block content %}

Oups, une erreur est survenue :/

{% if quote %}

Pour nous faire pardonner voici une citation de Thomas Pesquet:

{{ quote }}

{% endif %} +{% endblock %}