Add recipe mockup
This commit is contained in:
53
stacks/recipe/css/styles.css
Normal file
53
stacks/recipe/css/styles.css
Normal file
@@ -0,0 +1,53 @@
|
||||
/* Slider styling */
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
border-radius: 50%;
|
||||
background: #111827;
|
||||
cursor: pointer;
|
||||
margin-top: -8px;
|
||||
}
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
cursor: pointer;
|
||||
background: #e5e7eb;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* View Transitions */
|
||||
.view-transition {
|
||||
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
|
||||
}
|
||||
.slide-in {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
.slide-out {
|
||||
transform: translateX(100%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Ingredient Active States */
|
||||
.ingredient-active .check-box {
|
||||
background-color: #111827;
|
||||
border-color: #111827;
|
||||
}
|
||||
.ingredient-active .check-icon {
|
||||
display: block;
|
||||
}
|
||||
.ingredient-active .ingredient-text {
|
||||
text-decoration: line-through;
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.no-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.no-scrollbar {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
Reference in New Issue
Block a user