Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ext/riverlea/core/css/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
--crm-f-fieldset-border: 0;
--crm-f-fieldset-box-shadow: var(--crm-f-box-shadow);
--crm-f-legend-position: left; /* chose 'left', 'right' or 'inherit' for browser-default of mid fieldset border */
--crm-f-sr-legend-position: absolute; /* chose 'absolute' for inline label/input, and 'unset' for stacked. See #33491 */
--crm-f-legend-align: left;
--crm-f-legend-size: var(--crm-r3);
--crm-f-legend-padding: 0;
Expand Down
4 changes: 4 additions & 0 deletions ext/riverlea/core/css/components/_form.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
border: 1px solid var(--crm-fieldset-border-color);
border-width: var(--crm-fieldset-border);
}
.crm-container fieldset.crm-sr-fieldset {
border: 0;
padding: 0;
}
.crm-container fieldset legend {
font-weight: bold;
font-family: var(--crm-font-bold);
Expand Down
7 changes: 6 additions & 1 deletion ext/riverlea/core/css/components/_front.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
.crm-container.crm-public fieldset:not(.collapsed,
.crm-inactive-dashlet-fieldset,
.af-container-style-pane),
.af-container-style-pane,.crm-sr-fieldset),
.crm-container.crm-public .crm-event-info-form-block,
.crm-container.crm-public #crm-profile-block,
.crm-container.crm-public .crm-container.crm-public .af-container:not(.af-container-style-pane),
Expand All @@ -31,6 +31,11 @@
text-align: var(--crm-f-legend-align);
float: var(--crm-f-legend-position);
}
.crm-container.crm-public fieldset.crm-sr-fieldset legend {
padding: 0;
font-size: inherit;
position: var(--crm-f-sr-legend-position);
}
.crm-container.crm-public fieldset legend + * {
clear: both;
}
Expand Down
1 change: 1 addition & 0 deletions ext/riverlea/streams/hackneybrook/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
--crm-f-legend-size: var(--crm-r2);
--crm-f-form-width: 50vw;
--crm-f-label-position: unset; /* 'unset' = stacked, 'left' = left align, in combination with width below */
--crm-f-sr-legend-position: var(--crm-f-label-position);
--crm-f-label-align: left;
--crm-f-label-margin: 0 var(--crm-s);
--crm-f-label-width: unset;
Expand Down
1 change: 1 addition & 0 deletions ext/riverlea/streams/thames/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@
--crm-f-form-padding: var(--crm-padding-reg);
--crm-f-form-layout: block; /* 'grid' = inline, 'block' = stacked */
--crm-f-label-position: unset;
--crm-f-sr-legend-position: var(--crm-f-label-position);
--crm-f-label-align: left;
--crm-f-label-weight: bold;
--crm-f-label-margin: var(--crm-s);
Expand Down
1 change: 1 addition & 0 deletions ext/riverlea/streams/walbrook/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
--crm-f-legend-align: unset;
--crm-f-legend-size: var(--crm-r2);
--crm-f-label-position: unset; /* 'unset' = stacked, 'left' = left align, in combination with width below */
--crm-f-sr-legend-position: var(--crm-f-label-position);
--crm-f-label-align: left;
--crm-f-label-margin: var(--crm-s);
--crm-f-label-width: unset;
Expand Down