mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 03:24:20 +00:00
🔧 Improve margin of @{form-row}
s as the first or last child of a form
This commit is contained in:
parent
122c250510
commit
a5e28827a4
15 changed files with 93 additions and 7 deletions
8
src/rules/skeleton.less
vendored
8
src/rules/skeleton.less
vendored
|
@ -1099,6 +1099,14 @@
|
|||
@{panel} {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -550,6 +550,12 @@
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.bluelib .heading {
|
||||
text-align: center;
|
||||
--bluelib-color-r: var(--bluelib-accent-r);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2226,6 +2226,18 @@ body .form .form-row .panel,
|
|||
.bluelib .form .form-row .panel {
|
||||
margin: 0;
|
||||
}
|
||||
body form .form-row:first-child,
|
||||
.bluelib form .form-row:first-child,
|
||||
body .form .form-row:first-child,
|
||||
.bluelib .form .form-row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
body form .form-row:last-child,
|
||||
.bluelib form .form-row:last-child,
|
||||
body .form .form-row:last-child,
|
||||
.bluelib .form .form-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body h1,
|
||||
.bluelib h1,
|
||||
body h2,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue