Add a calendar to schedule a recipe to a chosen date (WIP)
This commit is contained in:
parent
d9449de02b
commit
9d3f9e9c60
15 changed files with 441 additions and 62 deletions
46
backend/scss/calendar.scss
Normal file
46
backend/scss/calendar.scss
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.calendar {
|
||||
.month-selector {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
.prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.next {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.month {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.month.current {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
ul.weekdays {
|
||||
margin: 0;
|
||||
padding: 20px 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
width: 14%;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
ul.days {
|
||||
margin: 0;
|
||||
padding: 20px 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
width: 14%;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
#modal-dialog {
|
||||
// visibility: hidden;
|
||||
color: white;
|
||||
max-width: 300px;
|
||||
margin-left: -125px;
|
||||
width: 500px;
|
||||
margin-left: -250px;
|
||||
background-color: black;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@use 'toast.scss';
|
||||
@use 'modal-dialog.scss';
|
||||
@use 'calendar.scss';
|
||||
|
||||
$color-1: #B29B89;
|
||||
$color-2: #89B29B;
|
||||
|
|
@ -123,6 +124,10 @@ body {
|
|||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#hidden-templates {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#recipe-edit {
|
||||
|
|
@ -163,10 +168,6 @@ body {
|
|||
background-color: red;
|
||||
}
|
||||
}
|
||||
|
||||
#hidden-templates {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue