Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_gesso
Commits
24c211f5
Commit
24c211f5
authored
3 years ago
by
Igor Biki
Browse files
Options
Downloads
Plain Diff
ISTWCMS-4618: Manual merge.
parents
cae42765
ffc9ce9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
adding css to allow remote video to scale the width of the container its in
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
css/styles.css
+32
-7
32 additions, 7 deletions
css/styles.css
source/_patterns/04-components/remote-video/_remote-video.scss
+22
-7
22 additions, 7 deletions
...e/_patterns/04-components/remote-video/_remote-video.scss
with
54 additions
and
14 deletions
css/styles.css
+
32
−
7
View file @
24c211f5
...
...
@@ -4363,6 +4363,7 @@ details.details {
}
.uw-facebook
{
display
:
grid
;
padding
:
1rem
0
;
width
:
100%
;
}
...
...
@@ -4382,7 +4383,7 @@ details.details {
.uw-facebook
.fb-post
,
.uw-facebook
.fb-page
{
background
:
url("../source/images/icons/facebook_logo.png")
no-repeat
;
background-position
:
center
center
;
background-position
:
50%
25%
;
min-height
:
340px
;
text-align
:
center
;
width
:
100%
;
...
...
@@ -5675,6 +5676,14 @@ fieldset .fieldset-wrapper .webform-container-inline .fieldset-invisible,
display
:
none
;
}
.uw-google-maps
>
iframe
{
width
:
100%
;
}
.js
.uw-google-maps__message
{
display
:
none
;
}
.hero-bg-image
{
background-position
:
50%
50%
;
background-size
:
cover
;
...
...
@@ -7794,21 +7803,37 @@ fieldset .fieldset-wrapper .webform-container-inline .fieldset-invisible,
}
.uw-remote-video
{
height
:
0
;
margin-bottom
:
2rem
;
padding-bottom
:
56.25%
;
/* 16:9 */
padding-top
:
25px
;
position
:
relative
;
width
:
100%
;
}
.uw-remote-video__video
{
text-align
:
center
;
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
width
:
100%
;
}
.uw-remote-video__video
iframe
{
margin-left
:
auto
;
margin-right
:
auto
;
.uw-remote-video__video
.media-oembed-content
{
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
width
:
100%
;
}
.uw-remote-video__view
{
margin-left
:
auto
;
margin-right
:
auto
;
position
:
absolute
;
text-align
:
center
;
top
:
100%
;
width
:
100%
;
}
.uw-remote-video__view
a
{
font-family
:
Typ1451-Medium
,
-apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
"Oxygen-Sans"
,
Ubuntu
,
Cantarell
,
"Fira Sans"
,
Droid
Sans
,
sans-serif
;
font-size
:
1rem
;
text-decoration
:
underline
;
}
.uw-remote-video__view
a
:hover
{
...
...
This diff is collapsed.
Click to expand it.
source/_patterns/04-components/remote-video/_remote-video.scss
+
22
−
7
View file @
24c211f5
.uw-remote-video
{
height
:
0
;
margin-bottom
:
2rem
;
padding-bottom
:
56
.25%
;
/* 16:9 */
padding-top
:
25px
;
position
:
relative
;
width
:
100%
;
&
__video
{
text-align
:
center
;
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
width
:
100%
;
.media-oembed-content
{
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
width
:
100%
;
iframe
{
margin-left
:
auto
;
margin-right
:
auto
;
}
}
&
__view
{
margin-left
:
auto
;
margin-right
:
auto
;
text-align
:
center
;
position
:
absolute
;
text-align
:center
;
top
:
100%
;
width
:
100%
;
a
{
font-family
:
gesso-font-family
(
systemmedium
);
font-size
:rem
(
gesso-font-size
(
0
))
;
text-decoration
:
underline
;
&
:hover
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment