Commit 7db6e4ca authored by Romain DELEAU's avatar Romain DELEAU

fix task/annexe-task/random-event CSS + add repeat background-image

parent 7c79e82a
...@@ -23,17 +23,21 @@ ...@@ -23,17 +23,21 @@
display: flex; display: flex;
padding: 15px 20px 15px 20px; padding: 15px 20px 15px 20px;
justify-content: space-around; justify-content: space-around;
mat-icon { mat-icon {
cursor: pointer; cursor: pointer;
transform: scale(1.1); transform: scale(1.1);
} }
mat-icon:hover { mat-icon:hover {
opacity: 0.75; opacity: 0.75;
} }
} }
&-menu.show { &-menu.show {
transform: translateX(-50%) translateY(0); transform: translateX(-50%) translateY(0);
} }
&-menu.hide { &-menu.hide {
transform: translateX(-50%) translateY(100%); transform: translateX(-50%) translateY(100%);
} }
...@@ -60,7 +64,7 @@ ...@@ -60,7 +64,7 @@
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
font-size: 14px; font-size: 14px;
} }
&-form { &-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -97,6 +101,7 @@ ...@@ -97,6 +101,7 @@
flex-direction: row; flex-direction: row;
width: 100%; width: 100%;
margin-top: 5px; margin-top: 5px;
&-checkbox { &-checkbox {
position: relative; position: relative;
width: 50%; width: 50%;
...@@ -111,12 +116,14 @@ ...@@ -111,12 +116,14 @@
display: flex; display: flex;
padding-right: 5px; padding-right: 5px;
justify-content: flex-end; justify-content: flex-end;
input { input {
width: 20px; width: 20px;
border: none; border: none;
border-radius: 10px; border-radius: 10px;
text-align: center; text-align: center;
} }
select { select {
width: 40px; width: 40px;
background-color: white; background-color: white;
...@@ -128,12 +135,14 @@ ...@@ -128,12 +135,14 @@
} }
} }
} }
&-prerequires.show { &-prerequires.show {
transform: translateY(100%); transform: translateY(100%);
} }
&-attach { &-attach {
z-index: 1; z-index: 1;
&-left { &-left {
border-top: solid black 1px; border-top: solid black 1px;
border-right: solid black 1px; border-right: solid black 1px;
...@@ -167,6 +176,7 @@ ...@@ -167,6 +176,7 @@
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
z-index: 2; z-index: 2;
input { input {
height: 40px; height: 40px;
border-radius: 10px; border-radius: 10px;
...@@ -174,6 +184,7 @@ ...@@ -174,6 +184,7 @@
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
font-size: 15px; font-size: 15px;
} }
textarea { textarea {
border-radius: 20px; border-radius: 20px;
padding: 10px; padding: 10px;
...@@ -184,8 +195,9 @@ ...@@ -184,8 +195,9 @@
background-image: url("../../../assets/background-images/annexe.png"); background-image: url("../../../assets/background-images/annexe.png");
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 30%; background-size: 100px;
} }
select { select {
background-color: white; background-color: white;
border: none; border: none;
...@@ -193,44 +205,52 @@ ...@@ -193,44 +205,52 @@
border-radius: 10px; border-radius: 10px;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
} }
&-top { &-top {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
//justify-content: space-between;
&-identifier { &-identifier {
width: 50px; width: 50px;
text-align: center; text-align: center;
} }
&-title { &-title {
font-size: 25px; font-size: 25px;
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
position: relative; position: relative;
margin-left: 10px; margin-left: 10px;
} }
&-symbol { &-symbol {
width: 50px; width: 50px;
height: 50px; height: 50px;
background-color: white; background-color: white;
border-radius: 10px; border-radius: 10px;
cursor: pointer; cursor: pointer;
mat-icon { mat-icon {
transform: scale(1.3); transform: scale(1.3);
overflow: visible; overflow: visible;
} }
} }
} }
&-content { &-content {
margin-top: 10px; margin-top: 10px;
height: 100%; height: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }
&-bottom { &-bottom {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
margin-bottom: 10px; margin-bottom: 10px;
justify-content: space-between; justify-content: space-between;
&-duration { &-duration {
display: flex;
input { input {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
...@@ -238,6 +258,7 @@ ...@@ -238,6 +258,7 @@
text-align: center; text-align: center;
z-index: 2; z-index: 2;
} }
select { select {
width: 60px; width: 60px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
...@@ -245,6 +266,7 @@ ...@@ -245,6 +266,7 @@
z-index: 1; z-index: 1;
} }
} }
&-prerequires { &-prerequires {
width: 100px; width: 100px;
height: 50px; height: 50px;
......
...@@ -23,17 +23,21 @@ ...@@ -23,17 +23,21 @@
display: flex; display: flex;
padding: 15px 20px 15px 20px; padding: 15px 20px 15px 20px;
justify-content: space-around; justify-content: space-around;
mat-icon { mat-icon {
cursor: pointer; cursor: pointer;
transform: scale(1.1); transform: scale(1.1);
} }
mat-icon:hover { mat-icon:hover {
opacity: 0.75; opacity: 0.75;
} }
} }
&-menu.show { &-menu.show {
transform: translateX(-50%) translateY(0); transform: translateX(-50%) translateY(0);
} }
&-menu.hide { &-menu.hide {
transform: translateX(-50%) translateY(100%); transform: translateX(-50%) translateY(100%);
} }
...@@ -52,14 +56,16 @@ ...@@ -52,14 +56,16 @@
top: 5px; top: 5px;
z-index: -1; z-index: -1;
transition: transform 0.5s ease; transition: transform 0.5s ease;
label { label {
font-size: 14px; font-size: 14px;
} }
mat-icon { mat-icon {
cursor: pointer; cursor: pointer;
transform: scale(1.2); transform: scale(1.2);
} }
mat-icon:hover { mat-icon:hover {
opacity: 0.75; opacity: 0.75;
} }
...@@ -77,6 +83,7 @@ ...@@ -77,6 +83,7 @@
margin-top: 10px; margin-top: 10px;
} }
} }
&-symbolchoice.show { &-symbolchoice.show {
transform: translateX(100%); transform: translateX(100%);
} }
...@@ -103,7 +110,7 @@ ...@@ -103,7 +110,7 @@
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
font-size: 14px; font-size: 14px;
} }
&-form { &-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -140,6 +147,7 @@ ...@@ -140,6 +147,7 @@
flex-direction: row; flex-direction: row;
width: 100%; width: 100%;
margin-top: 5px; margin-top: 5px;
&-checkbox { &-checkbox {
position: relative; position: relative;
width: 50%; width: 50%;
...@@ -154,12 +162,14 @@ ...@@ -154,12 +162,14 @@
display: flex; display: flex;
padding-right: 5px; padding-right: 5px;
justify-content: flex-end; justify-content: flex-end;
input { input {
width: 20px; width: 20px;
border: none; border: none;
border-radius: 10px; border-radius: 10px;
text-align: center; text-align: center;
} }
select { select {
width: 40px; width: 40px;
background-color: white; background-color: white;
...@@ -171,12 +181,14 @@ ...@@ -171,12 +181,14 @@
} }
} }
} }
&-prerequires.show { &-prerequires.show {
transform: translateY(100%); transform: translateY(100%);
} }
&-attach { &-attach {
z-index: 1; z-index: 1;
&-left { &-left {
border-top: solid black 1px; border-top: solid black 1px;
border-right: solid black 1px; border-right: solid black 1px;
...@@ -210,6 +222,7 @@ ...@@ -210,6 +222,7 @@
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
z-index: 2; z-index: 2;
input { input {
height: 40px; height: 40px;
border-radius: 10px; border-radius: 10px;
...@@ -217,6 +230,7 @@ ...@@ -217,6 +230,7 @@
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
font-size: 15px; font-size: 15px;
} }
textarea { textarea {
border-radius: 20px; border-radius: 20px;
padding: 10px; padding: 10px;
...@@ -227,8 +241,9 @@ ...@@ -227,8 +241,9 @@
background-image: url("../../../assets/background-images/event.png"); background-image: url("../../../assets/background-images/event.png");
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 30%; background-size: 100px;
} }
select { select {
background-color: white; background-color: white;
border: none; border: none;
...@@ -236,20 +251,24 @@ ...@@ -236,20 +251,24 @@
border-radius: 10px; border-radius: 10px;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
} }
&-top { &-top {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
&-identifier { &-identifier {
width: 50px; width: 50px;
text-align: center; text-align: center;
} }
&-title { &-title {
font-size: 25px; font-size: 25px;
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
position: relative; position: relative;
margin-left: 10px; margin-left: 10px;
} }
&-symbol { &-symbol {
width: 50px; width: 50px;
height: 50px; height: 50px;
...@@ -258,23 +277,29 @@ ...@@ -258,23 +277,29 @@
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
right: 10px; right: 10px;
mat-icon { mat-icon {
transform: scale(1.3); transform: scale(1.3);
overflow: visible; overflow: visible;
} }
} }
} }
&-content { &-content {
margin-top: 10px; margin-top: 10px;
height: 100%; height: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }
&-bottom { &-bottom {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
margin-bottom: 10px; margin-bottom: 10px;
justify-content: space-between; justify-content: space-between;
&-duration { &-duration {
display: flex;
input { input {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
...@@ -282,6 +307,7 @@ ...@@ -282,6 +307,7 @@
text-align: center; text-align: center;
z-index: 2; z-index: 2;
} }
select { select {
width: 60px; width: 60px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
...@@ -289,6 +315,7 @@ ...@@ -289,6 +315,7 @@
z-index: 1; z-index: 1;
} }
} }
&-prerequires { &-prerequires {
width: 100px; width: 100px;
height: 50px; height: 50px;
......
...@@ -23,17 +23,21 @@ ...@@ -23,17 +23,21 @@
display: flex; display: flex;
padding: 15px 20px 15px 20px; padding: 15px 20px 15px 20px;
justify-content: space-around; justify-content: space-around;
mat-icon { mat-icon {
cursor: pointer; cursor: pointer;
transform: scale(1.1); transform: scale(1.1);
} }
mat-icon:hover { mat-icon:hover {
opacity: 0.75; opacity: 0.75;
} }
} }
&-menu.show { &-menu.show {
transform: translateX(-50%) translateY(0); transform: translateX(-50%) translateY(0);
} }
&-menu.hide { &-menu.hide {
transform: translateX(-50%) translateY(100%); transform: translateX(-50%) translateY(100%);
} }
...@@ -52,14 +56,16 @@ ...@@ -52,14 +56,16 @@
top: 5px; top: 5px;
z-index: -1; z-index: -1;
transition: transform 0.5s ease; transition: transform 0.5s ease;
label { label {
font-size: 14px; font-size: 14px;
} }
mat-icon { mat-icon {
cursor: pointer; cursor: pointer;
transform: scale(1.2); transform: scale(1.2);
} }
mat-icon:hover { mat-icon:hover {
opacity: 0.75; opacity: 0.75;
} }
...@@ -77,6 +83,7 @@ ...@@ -77,6 +83,7 @@
margin-top: 10px; margin-top: 10px;
} }
} }
&-symbolchoice.show { &-symbolchoice.show {
transform: translateX(100%); transform: translateX(100%);
} }
...@@ -103,7 +110,7 @@ ...@@ -103,7 +110,7 @@
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
font-size: 14px; font-size: 14px;
} }
&-form { &-form {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -140,6 +147,7 @@ ...@@ -140,6 +147,7 @@
flex-direction: row; flex-direction: row;
width: 100%; width: 100%;
margin-top: 5px; margin-top: 5px;
&-checkbox { &-checkbox {
position: relative; position: relative;
width: 50%; width: 50%;
...@@ -154,12 +162,14 @@ ...@@ -154,12 +162,14 @@
display: flex; display: flex;
padding-right: 5px; padding-right: 5px;
justify-content: flex-end; justify-content: flex-end;
input { input {
width: 20px; width: 20px;
border: none; border: none;
border-radius: 10px; border-radius: 10px;
text-align: center; text-align: center;
} }
select { select {
width: 40px; width: 40px;
background-color: white; background-color: white;
...@@ -171,12 +181,14 @@ ...@@ -171,12 +181,14 @@
} }
} }
} }
&-prerequires.show { &-prerequires.show {
transform: translateY(100%); transform: translateY(100%);
} }
&-attach { &-attach {
z-index: 1; z-index: 1;
&-left { &-left {
border-top: solid black 1px; border-top: solid black 1px;
border-right: solid black 1px; border-right: solid black 1px;
...@@ -210,6 +222,7 @@ ...@@ -210,6 +222,7 @@
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
z-index: 2; z-index: 2;
input { input {
height: 40px; height: 40px;
border-radius: 10px; border-radius: 10px;
...@@ -217,6 +230,7 @@ ...@@ -217,6 +230,7 @@
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
font-size: 15px; font-size: 15px;
} }
textarea { textarea {
border-radius: 20px; border-radius: 20px;
padding: 10px; padding: 10px;
...@@ -227,8 +241,9 @@ ...@@ -227,8 +241,9 @@
background-image: url("../../../assets/background-images/tache.png"); background-image: url("../../../assets/background-images/tache.png");
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 30%; background-size: 100px;
} }
select { select {
background-color: white; background-color: white;
border: none; border: none;
...@@ -236,20 +251,24 @@ ...@@ -236,20 +251,24 @@
border-radius: 10px; border-radius: 10px;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
} }
&-top { &-top {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
&-identifier { &-identifier {
width: 50px; width: 50px;
text-align: center; text-align: center;
} }
&-title { &-title {
font-size: 25px; font-size: 25px;
font-family: 'Glacial Indifference Bold'; font-family: 'Glacial Indifference Bold';
position: relative; position: relative;
margin-left: 10px; margin-left: 10px;
} }
&-symbol { &-symbol {
width: 50px; width: 50px;
height: 50px; height: 50px;
...@@ -258,23 +277,29 @@ ...@@ -258,23 +277,29 @@
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
right: 10px; right: 10px;
mat-icon { mat-icon {
transform: scale(1.3); transform: scale(1.3);
overflow: visible; overflow: visible;
} }
} }
} }
&-content { &-content {
margin-top: 10px; margin-top: 10px;
height: 100%; height: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }
&-bottom { &-bottom {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
margin-bottom: 10px; margin-bottom: 10px;
justify-content: space-between; justify-content: space-between;
&-duration { &-duration {
display: flex;
input { input {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
...@@ -282,6 +307,7 @@ ...@@ -282,6 +307,7 @@
text-align: center; text-align: center;
z-index: 2; z-index: 2;
} }
select { select {
width: 60px; width: 60px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
...@@ -289,6 +315,7 @@ ...@@ -289,6 +315,7 @@
z-index: 1; z-index: 1;
} }
} }
&-prerequires { &-prerequires {
width: 100px; width: 100px;
height: 50px; height: 50px;
......
...@@ -55,6 +55,10 @@ ...@@ -55,6 +55,10 @@
flex-grow: 1; flex-grow: 1;
min-height: 50px; min-height: 50px;
max-height: 100px; max-height: 100px;
background-image: url("../../../assets/background-images/repeat.png");
background-position: center;
background-repeat: no-repeat;
background-size: 30%;
} }
} }
} }
......
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