mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Fix descendant category color
This commit is contained in:
@@ -1,28 +1,5 @@
|
|||||||
.category {
|
*:invalid {
|
||||||
display: grid;
|
box-shadow: 0 0 1.5px 1px red;
|
||||||
grid-template-columns: 150px 1fr;
|
|
||||||
grid-column-gap: 20px;
|
|
||||||
grid-row-gap: 5px;
|
|
||||||
}
|
|
||||||
.category__name {}
|
|
||||||
.category__description,
|
|
||||||
.category .category {
|
|
||||||
color: graytext;
|
|
||||||
grid-column: span 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.option {
|
|
||||||
display: contents;
|
|
||||||
}
|
|
||||||
|
|
||||||
.option__label {
|
|
||||||
text-align: right;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.option > input {
|
|
||||||
align-self: center;
|
|
||||||
justify-self: flex-start;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#form {
|
#form {
|
||||||
@@ -39,35 +16,72 @@
|
|||||||
margin-inline-end: 5px;
|
margin-inline-end: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
*:invalid {
|
|
||||||
box-shadow: 0 0 1.5px 1px red;
|
.category {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 150px 1fr;
|
||||||
|
grid-column-gap: 20px;
|
||||||
|
grid-row-gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.category__name {}
|
||||||
|
|
||||||
|
.category__description {
|
||||||
|
color: graytext;
|
||||||
|
}
|
||||||
|
|
||||||
|
.category__description,
|
||||||
|
.category .category {
|
||||||
|
grid-column: span 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.option {
|
||||||
|
display: contents;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option__label {
|
||||||
|
text-align: right;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option > input {
|
||||||
|
align-self: center;
|
||||||
|
justify-self: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.editable-list {
|
.editable-list {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__items {
|
.editable-list__items {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: initial;
|
padding: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__item {
|
.editable-list__item {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__title {
|
.editable-list__title {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__edit-field {
|
.editable-list__edit-field {
|
||||||
width: -moz-available;
|
width: -moz-available;
|
||||||
margin-inline-end: 1em;
|
margin-inline-end: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__raw-view {
|
.editable-list__raw-view {
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable-list__add-button {
|
.editable-list__add-button {
|
||||||
align-self: end;
|
align-self: end;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user