Style updates
- only add space between buttons that are visible - smaller left-padding of lists in boxes - less vertical margin around horizontal layouted boxes - add span-width, spacer, double-spacer and flex-spacer helpers spacer creates a 10x10 pixel space double-spacer a 20x20 pixel space flex-spacer uses space variably
This commit is contained in:
parent
201ca9ac26
commit
a0ac4eae7b
1 changed files with 32 additions and 1 deletions
|
@ -608,7 +608,7 @@ pre code.hljs {
|
|||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.vertical > .btn + .btn {
|
||||
.vertical > .btn:not(.hidden) + .btn {
|
||||
margin-left: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
@ -5389,6 +5389,10 @@ footer {
|
|||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.box ul {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.box .two-columns {
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
|
@ -5438,6 +5442,15 @@ footer {
|
|||
}
|
||||
}
|
||||
|
||||
.horizontal > .box {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
|
||||
& + .box {
|
||||
border-left-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.formset-inset {
|
||||
margin: 34px -24px 24px;
|
||||
padding: 19px 24px 24px;
|
||||
|
@ -8439,6 +8452,10 @@ body.fit {
|
|||
align-self: end;
|
||||
}
|
||||
|
||||
.span-width {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.two-columns,
|
||||
.three-columns,
|
||||
.wrap {
|
||||
|
@ -8473,3 +8490,17 @@ body.fit {
|
|||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.double-spacer {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.flex-spacer {
|
||||
flex: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue