diff --git a/app/views/console/database/rules/array.phtml b/app/views/console/database/rules/array.phtml index 7f55bb012..64b2a020b 100644 --- a/app/views/console/database/rules/array.phtml +++ b/app/views/console/database/rules/array.phtml @@ -20,33 +20,28 @@ if($type === 'document') { -
+
- + \ No newline at end of file diff --git a/public/styles/comps/box.less b/public/styles/comps/box.less index b31ad6ced..200b6896a 100644 --- a/public/styles/comps/box.less +++ b/public/styles/comps/box.less @@ -82,13 +82,21 @@ ul.numbers { > li { position: relative; + .func-margin-start(30px); + .func-margin-end(50px); + .settings { + position: absolute; + top: 3px; + .func-end(-50px); + } + &::after { display: block; - width: 30px; - height: 30px; - line-height: 30px; - font-size: 14px; + width: 25px; + height: 25px; + line-height: 25px; + font-size: 13px; font-weight: 500; border-radius: 50%; background: var(--config-color-focus); @@ -97,7 +105,7 @@ content: counter(section); text-align: center; position: absolute; - top: 2px; + top: 3px; .func-start(-45px); } } diff --git a/public/styles/comps/modal.less b/public/styles/comps/modal.less index 1813066b8..40f83851b 100644 --- a/public/styles/comps/modal.less +++ b/public/styles/comps/modal.less @@ -158,6 +158,12 @@ } &.sticky-footer { + form { + footer { + margin: -30px; + } + } + footer { position: sticky; bottom: -30px; @@ -165,7 +171,7 @@ height: 50px; z-index: 1; padding: 30px; - box-shadow: 0 0 1px rgba(0,0,0,.05); + box-shadow: 0 0 1px rgba(0,0,0,.15); form { display: inline-block; diff --git a/public/styles/forms.less b/public/styles/forms.less index e9c98f18a..df6f91e53 100644 --- a/public/styles/forms.less +++ b/public/styles/forms.less @@ -732,24 +732,31 @@ input[type=checkbox], input[type=radio] { font-weight: bold; } - ul, - ol { + ul, ol { margin: 0 0 20px 0; li { display: list-item !important; list-style: inherit; - margin-bottom: 10px; + list-style-position: inside!important; + margin: 0 20px 2px 20px; p { margin: 0; + display: inline; } } } - ul li { - margin: 0 20px; - display: list-item; + ol { + li { + list-style: decimal; + + &::before { + content: ''; + display: none; + } + } } } @@ -966,7 +973,7 @@ hr { overflow: hidden; position: relative; cursor: pointer; - border: solid 2px var(--config-color-background-dark); + border: solid 1px var(--config-color-background-dark); &:hover:before { background: var(--config-color-focus); diff --git a/public/styles/tabels.less b/public/styles/tabels.less index 86049442f..4cb7d464c 100644 --- a/public/styles/tabels.less +++ b/public/styles/tabels.less @@ -18,7 +18,6 @@ table { font-size: 14px; th { - background: var(--config-color-background-fade); position: sticky; top: -30px; z-index: 3;