Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
socialblue
Commits
bf6091f5
Commit
bf6091f5
authored
Apr 02, 2021
by
Agami4
Browse files
Issue
#3206945
: Improve enrollment setting section
parent
1accfce4
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/css/form-elements.css
View file @
bf6091f5
...
...
@@ -208,9 +208,9 @@ fieldset strong {
.field--name-field-event-date
,
.field--name-field-event-date-end
,
.field--type-address
,
.
field--name-field-
enroll-method
,
.enroll
ment
-method
s
,
.field--name-field-discussion-date
{
max-width
:
445
px
;
max-width
:
500
px
;
margin-bottom
:
1.5rem
;
}
...
...
@@ -220,7 +220,7 @@ fieldset strong {
.field--name-field-event-date
fieldset
.card
,
.field--name-field-event-date-end
fieldset
.card
,
.field--type-address
fieldset
.card
,
.
field--name-field-
enroll-method
fieldset
.card
,
.enroll
ment
-method
s
fieldset
.card
,
.field--name-field-discussion-date
fieldset
.card
{
margin-top
:
-1.5rem
;
}
...
...
@@ -231,7 +231,7 @@ fieldset strong {
.field--name-field-event-date
fieldset
.card
legend
.card__title
,
.field--name-field-event-date-end
fieldset
.card
legend
.card__title
,
.field--type-address
fieldset
.card
legend
.card__title
,
.
field--name-field-
enroll-method
fieldset
.card
legend
.card__title
,
.enroll
ment
-method
s
fieldset
.card
legend
.card__title
,
.field--name-field-discussion-date
fieldset
.card
legend
.card__title
{
padding
:
0
0
.5rem
;
font-size
:
.875rem
;
...
...
@@ -250,8 +250,8 @@ fieldset strong {
.field--name-field-event-date-end
.card__block
,
.field--type-address
.card
,
.field--type-address
.card__block
,
.
field--name-field-
enroll-method
.card
,
.
field--name-field-
enroll-method
.card__block
,
.enroll
ment
-method
s
.card
,
.enroll
ment
-method
s
.card__block
,
.field--name-field-discussion-date
.card
,
.field--name-field-discussion-date
.card__block
{
-webkit-box-shadow
:
none
;
...
...
@@ -278,9 +278,9 @@ fieldset strong {
.field--type-address
.panel-body
,
.field--type-address
.card__block
,
.field--type-address
fieldset
:not
(
.card
),
.
field--name-field-
enroll-method
.panel-body
,
.
field--name-field-
enroll-method
.card__block
,
.
field--name-field-
enroll-method
fieldset
:not
(
.card
),
.enroll
ment
-method
s
.panel-body
,
.enroll
ment
-method
s
.card__block
,
.enroll
ment
-method
s
fieldset
:not
(
.card
),
.field--name-field-discussion-date
.panel-body
,
.field--name-field-discussion-date
.card__block
,
.field--name-field-discussion-date
fieldset
:not
(
.card
)
{
...
...
@@ -294,10 +294,9 @@ fieldset strong {
.field--name-field-event-date
fieldset
:not
(
.card
),
.field--name-field-event-date-end
fieldset
:not
(
.card
),
.field--type-address
fieldset
:not
(
.card
),
.
field--name-field-
enroll-method
fieldset
:not
(
.card
),
.enroll
ment
-method
s
fieldset
:not
(
.card
),
.field--name-field-discussion-date
fieldset
:not
(
.card
)
{
margin-top
:
-24px
;
padding-bottom
:
1.25rem
;
}
#edit-author-info
legend
:not
(
.card__title
),
...
...
@@ -306,7 +305,7 @@ fieldset strong {
.field--name-field-event-date
legend
:not
(
.card__title
),
.field--name-field-event-date-end
legend
:not
(
.card__title
),
.field--type-address
legend
:not
(
.card__title
),
.
field--name-field-
enroll-method
legend
:not
(
.card__title
),
.enroll
ment
-method
s
legend
:not
(
.card__title
),
.field--name-field-discussion-date
legend
:not
(
.card__title
)
{
position
:
relative
;
top
:
22px
;
...
...
@@ -322,7 +321,7 @@ fieldset strong {
.field--name-field-event-date
label
,
.field--name-field-event-date-end
label
,
.field--type-address
label
,
.
field--name-field-
enroll-method
label
,
.enroll
ment
-method
s
label
,
.field--name-field-discussion-date
label
{
font-weight
:
300
;
margin-bottom
:
.5rem
;
...
...
@@ -334,7 +333,7 @@ fieldset strong {
.field--name-field-event-date
.field--name-uid
,
.field--name-field-event-date-end
.field--name-uid
,
.field--type-address
.field--name-uid
,
.
field--name-field-
enroll-method
.field--name-uid
,
.enroll
ment
-method
s
.field--name-uid
,
.field--name-field-discussion-date
.field--name-uid
{
max-width
:
260px
;
}
...
...
@@ -345,7 +344,7 @@ fieldset strong {
.field--name-field-event-date
.form-inline
,
.field--name-field-event-date-end
.form-inline
,
.field--type-address
.form-inline
,
.
field--name-field-
enroll-method
.form-inline
,
.enroll
ment
-method
s
.form-inline
,
.field--name-field-discussion-date
.form-inline
{
display
:
-webkit-box
;
display
:
-ms-flexbox
;
...
...
@@ -359,7 +358,7 @@ fieldset strong {
.field--name-field-event-date
.form-inline
label
,
.field--name-field-event-date-end
.form-inline
label
,
.field--type-address
.form-inline
label
,
.
field--name-field-
enroll-method
.form-inline
label
,
.enroll
ment
-method
s
.form-inline
label
,
.field--name-field-discussion-date
.form-inline
label
{
margin-bottom
:
.5rem
;
}
...
...
@@ -370,7 +369,7 @@ fieldset strong {
.field--name-field-event-date
.form-inline
>
*,
.field--name-field-event-date-end
.form-inline
>
*,
.field--type-address
.form-inline
>
*,
.
field--name-field-
enroll-method
.form-inline
>
*,
.enroll
ment
-method
s
.form-inline
>
*,
.field--name-field-discussion-date
.form-inline
>
*
{
-webkit-box-flex
:
1
;
-ms-flex
:
1
;
...
...
@@ -384,7 +383,7 @@ fieldset strong {
.field--name-field-event-date
.form-inline
>
*
:nth-child
(
1
),
.field--name-field-event-date-end
.form-inline
>
*
:nth-child
(
1
),
.field--type-address
.form-inline
>
*
:nth-child
(
1
),
.
field--name-field-
enroll-method
.form-inline
>
*
:nth-child
(
1
),
.enroll
ment
-method
s
.form-inline
>
*
:nth-child
(
1
),
.field--name-field-discussion-date
.form-inline
>
*
:nth-child
(
1
)
{
-webkit-box-flex
:
0
;
-ms-flex
:
0
0
240px
;
...
...
@@ -398,7 +397,7 @@ fieldset strong {
.field--name-field-event-date
.form-inline
input
[
type
=
'text'
]
.form-date
,
.field--name-field-event-date-end
.form-inline
input
[
type
=
'text'
]
.form-date
,
.field--type-address
.form-inline
input
[
type
=
'text'
]
.form-date
,
.
field--name-field-
enroll-method
.form-inline
input
[
type
=
'text'
]
.form-date
,
.enroll
ment
-method
s
.form-inline
input
[
type
=
'text'
]
.form-date
,
.field--name-field-discussion-date
.form-inline
input
[
type
=
'text'
]
.form-date
{
min-width
:
auto
;
}
...
...
@@ -409,7 +408,7 @@ fieldset strong {
.field--name-field-event-date
[
id
*=
'address-ajax-wrapper'
],
.field--name-field-event-date-end
[
id
*=
'address-ajax-wrapper'
],
.field--type-address
[
id
*=
'address-ajax-wrapper'
],
.
field--name-field-
enroll-method
[
id
*=
'address-ajax-wrapper'
],
.enroll
ment
-method
s
[
id
*=
'address-ajax-wrapper'
],
.field--name-field-discussion-date
[
id
*=
'address-ajax-wrapper'
]
{
-webkit-box-flex
:
0
;
-ms-flex
:
0
0
375px
;
...
...
@@ -461,3 +460,16 @@ fieldset strong {
.field--name-field-discussion-date
.card__block
input
[
type
=
'text'
]
.form-date
{
min-width
:
auto
;
}
.enrollment-methods
.panel-body
fieldset
,
.enrollment-methods
.panel-body
.panel-body
{
padding
:
0
;
}
.enrollment-methods
.panel-body
legend
{
top
:
0
;
}
.enrollment-methods
.panel-body
.panel-heading
header
{
font-weight
:
300
;
}
components/03-molecules/form-elements/form-elements.scss
View file @
bf6091f5
...
...
@@ -186,9 +186,9 @@ fieldset {
.field--name-field-event-date
,
.field--name-field-event-date-end
,
.field--type-address
,
.
field--name-field-
enroll-method
,
.enroll
ment
-method
s
,
.field--name-field-discussion-date
{
max-width
:
445
px
;
max-width
:
500
px
;
margin-bottom
:
1
.5rem
;
fieldset
.card
{
...
...
@@ -217,7 +217,6 @@ fieldset {
fieldset
:not
(
.card
)
{
margin-top
:
-24px
;
padding-bottom
:
1
.25rem
;
}
legend
:not
(
.card__title
)
{
...
...
@@ -309,3 +308,22 @@ fieldset {
}
}
}
.enrollment-methods
{
.panel-body
{
fieldset
,
.panel-body
{
padding
:
0
;
}
legend
{
top
:
0
;
}
.panel-heading
{
header
{
font-weight
:
300
;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment