Skip to content

Commit

Permalink
Merge pull request #7899 from cfpb/ans_video_css
Browse files Browse the repository at this point in the history
Video Player: Clean up CSS
  • Loading branch information
anselmbradford authored Aug 8, 2023
2 parents 7b0b451 + 1cda4cb commit 76c2fd3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions cfgov/unprocessed/css/organisms/video-player.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
display: flex;

// Create an aspect ratio box, see https://css-tricks.com/aspect-ratio-boxes/#the-psuedo-element-tactic
&:before {
&::before {
content: '';
width: 1px;
margin-left: -1px;
Expand All @@ -79,7 +79,7 @@
}

// To clear float.
&:after {
&::after {
content: '';
display: table;
clear: both;
Expand Down Expand Up @@ -119,7 +119,7 @@

.o-video-player_duration {
color: @white;
background: rgba(0, 0, 0, 0.4);
background: rgba(0, 0, 0, 40%);
z-index: 1;
padding-left: 6px;
padding-right: 6px;
Expand All @@ -145,7 +145,7 @@
16,
24,
32,
0.75
75%
) !important; // CFPB Black (#101820) at 80% opacity
color: @white !important;
font-size: @play-btn-icon-size;
Expand All @@ -156,7 +156,7 @@
0,
114,
206,
0.75
75%
) !important; // Pacific (#0072ce) at 80% opacity
}

Expand All @@ -177,15 +177,15 @@
&:focus {
outline: none;

&:before,
&:after {
&::before,
&::after {
content: '';
position: absolute;
box-sizing: border-box;
display: block;
}

&:before {
&::before {
width: 60px;
height: 60px;
left: -2px;
Expand All @@ -194,7 +194,7 @@
outline: 1px solid @white;
}

&:after {
&::after {
width: 62px;
height: 62px;
left: -3px;
Expand Down

0 comments on commit 76c2fd3

Please sign in to comment.