diff --git a/static/css/style.css b/static/css/style.css
index 3cf69ab..68038d9 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -8,7 +8,6 @@ body {
h1, h2 {
font-family: "Courgette", cursive;
- color: #efefef;
}
a {
@@ -19,10 +18,12 @@ h1 {
font-size: 60px;
text-align: center;
margin: 10px 0;
+ color: #00E8C2;
}
h2 {
font-size: 40px;
+ color: #efefef;
}
img {
@@ -73,7 +74,7 @@ input::-ms-input-placeholder {
color: #efefef;
}
-a, p, span, input, input::placeholder {
+a, p, span, input, input::placeholder, label {
font-family: "Play", sans-serif;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
@@ -139,7 +140,7 @@ nav .logo {
cursor: pointer;
font-size: 50px;
font-family: "Courgette", cursive;
- color: #efefef;
+ color: #00E8C2;
margin-right: 30px;
}
nav .left {
@@ -248,6 +249,21 @@ nav .right .search:hover {
margin-top: 30px;
}
+.btn-add {
+ position: fixed;
+ bottom: 30px;
+ right: 30px;
+ font-size: 75px;
+ color: black;
+ cursor: pointer;
+ background: #00E8C2;
+ padding: 0 24px;
+ border-radius: 50%;
+}
+.btn-add:hover {
+ color: black !important;
+}
+
#quicksearch {
position: fixed;
display: none;
@@ -562,4 +578,106 @@ nav .right .search:hover {
border: 2px solid #00E8C2;
font-size: 25px;
}
+
+.article-detail .date {
+ margin: 0;
+ font-size: 20px;
+ text-align: center;
+ font-style: italic;
+ color: #efefef;
+}
+.article-detail .desc {
+ text-align: center;
+ margin-top: 20px;
+}
+.article-detail .pic-flex {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ margin: 30px 0;
+ -webkit-box-pack: space-evenly;
+ -ms-flex-pack: space-evenly;
+ justify-content: space-evenly;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+.article-detail .pic-flex img {
+ width: 300px;
+}
+.article-detail .save {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: space-evenly;
+ -ms-flex-pack: space-evenly;
+ justify-content: space-evenly;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ background: #303030;
+ padding: 30px;
+ padding-top: 0;
+}
+.article-detail .save div {
+ text-align: center;
+}
+.article-detail .save h2 {
+ color: #00E8C2;
+}
+
+.article-form label {
+ display: block;
+}
+.article-form select {
+ margin-bottom: 20px;
+}
+.article-form .django-quill-widget-container {
+ background: white;
+ margin: 25px 0;
+}
+.article-form .django-quill-widget-container span {
+ color: #444;
+}
+.article-form .django-quill-widget-container .ql-editor {
+ background: #414142;
+}
+.article-form .django-quill-widget-container .ql-container {
+ max-height: 40vh;
+}
+.article-form input {
+ background: transparent;
+ color: #efefef;
+ display: block;
+ font-size: 20px;
+ width: 100%;
+ border: 2px solid white;
+ margin-bottom: 30px;
+}
+.article-form input::-webkit-input-placeholder {
+ color: #d3d2d2;
+}
+.article-form input::-moz-placeholder {
+ color: #d3d2d2;
+}
+.article-form input:-ms-input-placeholder {
+ color: #d3d2d2;
+}
+.article-form input::-ms-input-placeholder {
+ color: #d3d2d2;
+}
+.article-form input::placeholder {
+ color: #d3d2d2;
+}
+.article-form input[type=submit] {
+ width: -webkit-fit-content;
+ width: fit-content;
+ width: -moz-fit-content;
+ padding: 10px 20px;
+ display: block;
+ margin: auto;
+ color: #00E8C2;
+ border: 2px solid #00E8C2;
+ font-size: 25px;
+}
/*# sourceMappingURL=style.css.map */
\ No newline at end of file
diff --git a/static/css/style.css.map b/static/css/style.css.map
index 09b08bc..6ac297d 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"],"names":[],"mappings":"AAAQ,8EAAA;AACA,yEAAA;ACDR;EACI,yBCDS;EDET,UAAA;EACA,SAAA;A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BAAA;MAAA,0BAAA;UAAA,sBAAA;EACA,yBAAA;MAAA,sBAAA;UAAA,mBAAA;EACA,wBAAA;MAAA,qBAAA;UAAA,uBAAA;EACA,YAAA;EACA,UAAA;EACA,uBAAA;ANmXF;AMlXE;EACE,oBAAA;EAAA,oBAAA;EAAA,aAAA;EACA,yBAAA;MAAA,sBAAA;UAAA,8BAAA;EACA,WAAA;ANoXJ;AMnXI;EACE,kBAAA;ANqXN;AMnXI;EACE,iBAAA;ANqXN;AMlXE;EACE,uBAAA;EACA,cPvBI;EOwBJ,eAAA;EACA,YAAA;EACA,WAAA;EACA,8BAAA;EACA,mBAAA;ANoXJ;AMnXI;EACE,cP7BG;ACkZT;AMtXI;EACE,cP7BG;ACkZT;AMtXI;EACE,cP7BG;ACkZT;AMtXI;EACE,cP7BG;ACkZT;AMtXI;EACE,cP7BG;ACkZT;AMlXE;EACE,0BAAA;EAAA,kBAAA;EACA,uBAAA;EACA,kBAAA;EACA,cAAA;EACA,YAAA;EACA,cPxCK;EOyCL,yBAAA;EACA,eAAA;ANoXJ","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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QuDJ,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
diff --git a/static/scss/layouts/article-detail.scss b/static/scss/layouts/article-detail.scss
new file mode 100644
index 0000000..df1e167
--- /dev/null
+++ b/static/scss/layouts/article-detail.scss
@@ -0,0 +1,80 @@
+.article-detail{
+ .date{
+ margin: 0;
+ font-size: 20px;
+ text-align: center;
+ font-style: italic;
+ color: $light;
+ }
+ .desc{
+ text-align: center;
+ margin-top: 20px;
+ }
+ .pic-flex{
+ display: flex;
+ margin: 30px 0;
+ justify-content: space-evenly;
+ align-items: center;
+ img{
+ width: 300px;
+ }
+ }
+ .save{
+ display: flex;
+ justify-content: space-evenly;
+ align-items: center;
+ background: $background2;
+ padding: 30px;
+ padding-top: 0;
+ div{
+ text-align: center;
+ }
+ h2{
+ color: $accent;
+ }
+ }
+}
+
+.article-form{
+ label{
+ display: block;
+ }
+ select{
+ margin-bottom: 20px;
+ }
+ .django-quill-widget-container{
+ background: white;
+ margin: 25px 0;
+ span{
+ color: #444;
+ }
+ .ql-editor{
+ background: $background;
+ }
+ .ql-container{
+ max-height: 40vh;
+ }
+ }
+ input{
+ background: transparent;
+ color: $light;
+ display: block;
+ font-size: 20px;
+ width: 100%;
+ border: 2px solid white;
+ margin-bottom: 30px;
+ &::placeholder{
+ color: $light2;
+ }
+ }
+ input[type="submit"]{
+ width: fit-content;
+ width: -moz-fit-content;
+ padding: 10px 20px;
+ display: block;
+ margin: auto;
+ color: $accent;
+ border: 2px solid $accent;
+ font-size: 25px;
+ }
+}
\ No newline at end of file
diff --git a/static/scss/layouts/cards.scss b/static/scss/layouts/cards.scss
index 4ea2821..ff800d2 100644
--- a/static/scss/layouts/cards.scss
+++ b/static/scss/layouts/cards.scss
@@ -40,4 +40,19 @@
}
}
}
+}
+
+.btn-add{
+ position: fixed;
+ bottom: 30px;
+ right: 30px;
+ font-size: 75px;
+ color: black;
+ cursor: pointer;
+ background: $accent;
+ padding: 0 24px;
+ border-radius: 50%;
+ &:hover{
+ color: black !important;
+ }
}
\ No newline at end of file
diff --git a/static/scss/layouts/global.scss b/static/scss/layouts/global.scss
index c75a6d6..b1321cb 100644
--- a/static/scss/layouts/global.scss
+++ b/static/scss/layouts/global.scss
@@ -6,7 +6,6 @@ body{
h1, h2{
@include font-courgette;
- color: $light;
}
a{
@@ -17,10 +16,12 @@ h1{
font-size: 60px;
text-align: center;
margin: 10px 0;
+ color: $accent;
}
h2{
font-size: 40px;
+ color: $light;
}
img{
@@ -45,7 +46,7 @@ p{
margin: 5px 0;
}
-a, p, span, input, input::placeholder{
+a, p, span, input, input::placeholder, label{
@include font-play;
transition-duration: 0.3s;
color: $light;
diff --git a/static/scss/layouts/nav.scss b/static/scss/layouts/nav.scss
index 5e6f765..c1d8995 100644
--- a/static/scss/layouts/nav.scss
+++ b/static/scss/layouts/nav.scss
@@ -14,7 +14,7 @@ nav{
cursor: pointer;
font-size: 50px;
@include font-courgette;
- color: $light;
+ color: $accent;
margin-right: 30px;
}
.left{
diff --git a/static/scss/style.scss b/static/scss/style.scss
index ee1b7c5..12a3e70 100644
--- a/static/scss/style.scss
+++ b/static/scss/style.scss
@@ -8,4 +8,5 @@
@import "layouts/quicksearch.scss";
@import "layouts/personnes.scss";
@import "layouts/regilog.scss";
+@import "layouts/article-detail.scss";
diff --git a/templates/article/article.html b/templates/article/article.html
index f222c24..ccc1a39 100644
--- a/templates/article/article.html
+++ b/templates/article/article.html
@@ -1,3 +1,38 @@
+{% extends 'base.html' %}
+{% load static %}
+{% block content %}
+ {% include 'quicksearch.html' %}
+ {{ rescue.date }} {{ rescue.resume }}{{ rescue.name }}
+ Sauveteurs :
+ {% for people in rescue.rescuers.all %}
+ {{ people }}
+ {% endfor %}
+ Personnes sauvées :
+ {% for people in rescue.saved.all %}
+ {{ people }}
+ {% endfor %}
+