recipes/backend/scss/style.scss

219 lines
No EOL
4.5 KiB
SCSS

@use 'toast.scss';
@use 'modal-dialog.scss';
$color-1: #B29B89;
$color-2: #89B29B;
$color-3: #9B89B2;
$text-color: darken($color-1, 30%);
* {
margin: 5px;
padding: 0px;
}
a {
color: darken($color-3, 25%);
text-decoration: none;
&:hover {
color: lighten($color-3, 20%);
}
}
body {
display: flex;
flex-direction: column;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: $text-color;
background-color: $color-1;
margin: 0px;
.header-container {
display: flex;
flex-direction: row;
justify-content: space-between;
.title {
font-size: 180%;
font-style: italic;
.logo {
width: 50px;
height: 50px;
vertical-align: bottom;
margin: 0px 10px 0px 0px;
}
}
.header-menu {
align-self: flex-end;
.create-recipe {
border: 0.1em solid $color-3;
padding: 2px 8px 2px 8px;
border-radius: 0.5em;
}
}
#select-website-language {
padding: 5px;
}
}
.footer-container {
align-self: center;
font-size: 0.7em;
}
.drag-handle {
width: 20px;
height: 20px;
display: inline-block;
vertical-align: bottom;
background-color: blue;
}
img {
border: 0px;
}
.main-container {
display: flex;
flex-direction: row;
#recipes-list {
hr {
margin-top: 10px;
margin-bottom: 10px;
height: 1px;
color: $color-3;
background: $color-3;
font-size: 0;
border: 0;
}
.recipe-item {
padding: 4px;
}
.recipe-item-current {
color: lighten($color-3, 30%);
padding: 4px;
background-color: $color-2;
border: 0.1em solid $color-3;
border-radius: 0.5em;
}
}
.content {
flex-grow: 1;
background-color: $color-2;
border: 0.1em solid $color-3;
border-radius: 1em;
padding: 0.8em;
h1 {
text-align: center;
}
}
#recipe-edit {
.drag-handle {
cursor: move;
}
.group {
border: 0.1em solid lighten($color-3, 30%);
}
.step {
border: 0.1em solid lighten($color-3, 30%);
}
.ingredient {
border: 0.1em solid lighten($color-3, 30%);
}
.dropzone-group,
.dropzone-step {
height: 10px;
background-color: white;
&.active {
background-color: blue;
}
&.hover {
background-color: red;
}
}
#hidden-templates {
display: none;
}
}
form {
display: grid;
grid-template-columns: auto 1fr;
gap: 3px;
input,
button {
// background-color: rgb(52, 40, 85);
border-width: 1px;
// border-color: white;
// color: white;
}
}
// #user-edit {
// .label-name {
// grid-column: 1;
// grid-row: 1;
// }
// .input-name {
// grid-column: 2;
// grid-row: 1;
// }
// .label-password-1 {
// grid-column: 1;
// grid-row: 2;
// }
// .input-password-1 {
// grid-column: 2;
// grid-row: 2;
// }
// .label-password-2 {
// grid-column: 1;
// grid-row: 3;
// }
// .input-password-2 {
// grid-column: 2;
// grid-row: 3;
// }
// .button-save {
// grid-column: 2;
// grid-row: 4;
// width: fit-content;
// justify-self: flex-end;
// }
// }
// #sign-in {
// }
}
}