Feat(SQL, UI): 1. Dog Command Links page completed with get + set functionality. \n 2. Commands page and Command Categories page completed with get + set functionality.
This commit is contained in:
32
static/css/pages/dog/command_categories.css
Normal file
32
static/css/pages/dog/command_categories.css
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
/*
|
||||
#formFilters .container {
|
||||
max-width: fit-content;
|
||||
}
|
||||
*/
|
||||
|
||||
#tableMain tbody tr td.name .name {
|
||||
border: 1px solid var(--colour-accent);
|
||||
/*
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
justify-self: center;
|
||||
padding-top: auto;
|
||||
padding-bottom: auto;
|
||||
display: flex;
|
||||
resize: none;
|
||||
box-sizing: border-box;
|
||||
*/
|
||||
}
|
||||
|
||||
#tableMain thead tr th.code,
|
||||
#tableMain tbody tr td.code,
|
||||
#tableMain thead tr th.name ,
|
||||
#tableMain tbody tr td.name {
|
||||
width: 35vh;
|
||||
min-width: 35vh;
|
||||
}
|
||||
@@ -1,53 +1,6 @@
|
||||
|
||||
|
||||
/*
|
||||
#formFilters .container {
|
||||
max-width: fit-content;
|
||||
}
|
||||
|
||||
#formFilters .container-input.filter.is_not_empty {
|
||||
width: 10vh;
|
||||
}
|
||||
|
||||
#formFilters .container-input.filter.active {
|
||||
width: 8vh;
|
||||
}
|
||||
|
||||
|
||||
#tableMain {
|
||||
max-width: min(calc(1vh * 65), calc(1vw * 90));
|
||||
}
|
||||
|
||||
#tableMain tbody tr td.display_order, #tableMain thead tr th.display_order {
|
||||
width: 5vh;
|
||||
min-width: 5vh;
|
||||
}
|
||||
#tableMain tbody tr td.product_category, #tableMain thead tr th.product_category {
|
||||
width: 15vh;
|
||||
min-width: 15vh;
|
||||
}
|
||||
#tableMain tbody tr td.name, #tableMain thead tr th.name {
|
||||
width: 15vh;
|
||||
min-width: 15vh;
|
||||
}
|
||||
#tableMain thead tr th.has_variations, #tableMain tbody tr td.has_variations {
|
||||
width: 5vh;
|
||||
min-width: 5vh;
|
||||
}
|
||||
#tableMain tbody tr td.access_level, #tableMain thead tr th.access_level {
|
||||
width: 7vh;
|
||||
min-width: 7vh;
|
||||
}
|
||||
#tableMain tbody tr td.active, #tableMain thead tr th.active {
|
||||
width: 5vh;
|
||||
min-width: 5vh;
|
||||
}
|
||||
|
||||
td > input, td > select, td > textarea, .container-input > input, .container-input > select, .container-input > textarea {
|
||||
border: 2px solid var(--border-colour);
|
||||
border-radius: 0.5vh;
|
||||
}
|
||||
|
||||
#tableMain tbody tr td table thead tr th.id_variation_type, #tableMain tbody tr td table tbody tr td.id_variation_type, #tableMain tbody tr td table thead tr th.id_variation, #tableMain tbody tr td table tbody tr td.id_variation {
|
||||
width: 47.5%;
|
||||
}
|
||||
|
||||
*/
|
||||
@@ -1,16 +1,8 @@
|
||||
|
||||
|
||||
#formFilters .container {
|
||||
max-width: fit-content;
|
||||
}
|
||||
|
||||
#formFilters .container-input:has(.dirty) {
|
||||
background-color: var(--colour-accent);
|
||||
}
|
||||
|
||||
/*
|
||||
#formFilters .container-input.filter.active_only {
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
#tableMain {
|
||||
max-width: 90vw;
|
||||
@@ -39,22 +31,20 @@
|
||||
}
|
||||
*/
|
||||
|
||||
td > input
|
||||
, td > select
|
||||
, td > textarea
|
||||
, .container-input > input
|
||||
, .container-input > select
|
||||
, .container-input > textarea
|
||||
{
|
||||
td > input,
|
||||
td > select,
|
||||
td > textarea,
|
||||
.container-input > input,
|
||||
.container-input > select,
|
||||
.container-input > textarea {
|
||||
border: 2px solid var(--colour-primary);
|
||||
border-radius: 0.5vh;
|
||||
}
|
||||
|
||||
#tableMain tbody tr td table thead tr th.id_variation_type
|
||||
, #tableMain tbody tr td table tbody tr td.id_variation_type
|
||||
, #tableMain tbody tr td table thead tr th.id_variation
|
||||
, #tableMain tbody tr td table tbody tr td.id_variation
|
||||
{
|
||||
#tableMain tbody tr td table thead tr th.id_variation_type,
|
||||
#tableMain tbody tr td table tbody tr td.id_variation_type,
|
||||
#tableMain tbody tr td table thead tr th.id_variation,
|
||||
#tableMain tbody tr td table tbody tr td.id_variation {
|
||||
width: 47.5%;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#pageBody .column .row {
|
||||
margin-top: 0.5vh;
|
||||
}
|
||||
#pageBody .column .row .button {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user