fix: working copy, caching ASP, notworking orders though
This commit is contained in:
parent
dc5d204cfc
commit
390ad23e03
32 changed files with 246 additions and 194 deletions
51
public/css/manage/forms.css
Normal file
51
public/css/manage/forms.css
Normal file
|
@ -0,0 +1,51 @@
|
|||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.5rem;
|
||||
background: var(--second-bg);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.form .form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
.form .form-group label {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
.form .form-group button,
|
||||
.form .form-group select,
|
||||
.form .form-group textarea,
|
||||
.form .form-group input {
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
background: var(--default-bg);
|
||||
color: var(--default-text);
|
||||
outline: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.form .form-group button:hover,
|
||||
.form .form-group select:hover,
|
||||
.form .form-group textarea:hover,
|
||||
.form .form-group input:hover,
|
||||
.form .form-group button:focus,
|
||||
.form .form-group select:focus,
|
||||
.form .form-group textarea:focus,
|
||||
.form .form-group input:focus {
|
||||
filter: brightness(1.5);
|
||||
}
|
||||
|
||||
form .form-group button {
|
||||
background: var(--highlight-bg);
|
||||
color: var(--highlight-text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
form .form-group button:hover {
|
||||
filter: brightness(1.5);
|
||||
}
|
131
public/css/manage/manage.css
Normal file
131
public/css/manage/manage.css
Normal file
|
@ -0,0 +1,131 @@
|
|||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: var(--second-bg);
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 0.5fr;
|
||||
height: 7vh;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
box-shadow: #111111 0 0 10px;
|
||||
}
|
||||
|
||||
header span {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
margin: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
header div {
|
||||
text-align: right;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
header div a {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
/* side bar needs to be under header*/
|
||||
#sidebar {
|
||||
background: var(--darkest-bg);
|
||||
height: 93vh;
|
||||
width: 20vw;
|
||||
position: fixed;
|
||||
top: 7vh;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
overflow-x: hidden;
|
||||
padding-top: 0.25rem;
|
||||
}
|
||||
|
||||
#sidebar a {
|
||||
background: var(--inactive-item-bg);
|
||||
padding: 0.5rem 1rem;
|
||||
text-decoration: none;
|
||||
color: var(--default-text);
|
||||
display: block;
|
||||
margin-top: 0.5rem;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
#sidebar a:hover {
|
||||
background: var(--second-bg);
|
||||
color: var(--default-text);
|
||||
|
||||
}
|
||||
|
||||
#sidebar a.active {
|
||||
border-left: 0.5rem solid var(--highlight-bg);
|
||||
background-color: var(--default-bg);
|
||||
color: var(--highlight-text);
|
||||
}
|
||||
|
||||
#sidebar a.child {
|
||||
padding-left: 2rem;
|
||||
margin-top: 0;
|
||||
/* nice visual*/
|
||||
border-left: 0.5rem solid var(--second-bg);
|
||||
}
|
||||
|
||||
#sidebar a.child.active {
|
||||
border-left: 1rem solid var(--highlight-bg);
|
||||
}
|
||||
|
||||
main {
|
||||
background: var(--default-bg);
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
margin: 9vh 1vw 4vh 21vw;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: grid;
|
||||
background: var(--second-bg);
|
||||
width: 10vw;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.card .big-stat {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* form */
|
||||
|
||||
#showings {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#showings .showing {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr 1fr 0.25fr;
|
||||
gap: 0.5rem;
|
||||
margin: 0.5rem 0;
|
||||
padding: 1rem;
|
||||
background: var(--second-bg);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
#showings .showing .actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.warning {
|
||||
background-color: rgba(255, 0, 0, 0.5);
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
margin: 1rem 0;
|
||||
min-width: 25vw;
|
||||
}
|
||||
|
||||
.warning h3 {
|
||||
margin: 0;
|
||||
}
|
63
public/css/manage/movies.css
Normal file
63
public/css/manage/movies.css
Normal file
|
@ -0,0 +1,63 @@
|
|||
#movie-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
#movie-grid a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#movie-grid a .details {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
align-content: center;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
color: var(--default-text);
|
||||
transition: all .5s;
|
||||
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#movie-grid a:hover .details {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* --- */
|
||||
|
||||
|
||||
#movie-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#movie-list a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0.5rem 0;
|
||||
padding: 0.5rem;
|
||||
background: var(--second-bg);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
#movie-list a img {
|
||||
width: 10vw;
|
||||
height: 16vw;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
#movie-list a .details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 1rem;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue