Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
sebousan committed Dec 7, 2023
1 parent 3ec4b7e commit 77cc550
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions admin/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ div:has(> [role='textbox']) {
}
[class*='ControlPaneContainer']
> [class*='ControlContainer']:last-child
[for^='body-field']
+ div
div:has(> [role='textbox']) {
min-height: 400px;
}
Expand Down Expand Up @@ -228,9 +230,7 @@ div:has(> [role='textbox']) {
[id^='images-field'] > div:last-child > div:nth-child(3) {
clear: left;
}
[id^='gallery-field']
[class*='-ControlContainer']:nth-child(2)
+ div:not(:last-child) {
[id^='gallery-field'] [class*='-ControlContainer']:nth-child(2) + div {
float: left;
width: 49%;
}
Expand Down Expand Up @@ -280,6 +280,11 @@ div[id^='documents-field'] {
background-color: var(--lightgrey) !important;
}

/* DATAS */
[id^='datas-field'] {
background-color: var(--lightgrey) !important;
}

/* INFORMATIONS */
[id^='informations-field'] {
background-color: var(--lightgrey) !important;
Expand Down Expand Up @@ -416,6 +421,18 @@ div[id^='documents-field'] {
margin-bottom: 0;
}

/* SORTABLE */
[class*='-SortableListItem'] {
background-color: var(--midgrey) !important;
}
[class*='-SortableListItem'] {
background-color: var(--midgrey) !important;
}
[class*='-SortableListItem'] > div {
background-color: transparent !important;
border: 0;
}

/* BLOCKS */
div:has(> div[id^='blocks-field-']) {
border-top: 1px solid var(--grey);
Expand All @@ -433,14 +450,6 @@ div > div[id^='blocks-field-'] > [class*='-TopBarContainer'] {
background-color: transparent !important;
padding: 0 !important;
}
div
> div[id^='blocks-field-']
[class*='-SortableListItem']
[class*='-SortableListItem']
> div {
background-color: transparent !important;
border: 0;
}
div
> div[id^='blocks-field-']
> [class*='-TopBarContainer']
Expand All @@ -451,12 +460,12 @@ div > div[id^='blocks-field-'] > [class*='-TopBarContainer'] + div > div > div {
background-color: var(--lightgrey) !important;
border: 0;
}
div
/* div
> div[id^='blocks-field-']
[class*='-SortableListItem']
[class*='-SortableListItem'] {
background-color: var(--midgrey) !important;
}
} */
div
> div[id^='blocks-field-']
> [class*='-TopBarContainer']
Expand Down

0 comments on commit 77cc550

Please sign in to comment.