| 1 |
/* |
| 2 |
* WpStream integrations stylesheet. |
| 3 |
* |
| 4 |
* Styles the BuddyPress/BuddyBoss "Live Video" profile tab and the video.js |
| 5 |
* player as it appears inside BuddyPress contexts (the profile tab and the |
| 6 |
* activity timeline). Two areas: the profile tab layout, and player control-bar |
| 7 |
* / big-play-button overrides so the player matches the theme. |
| 8 |
*/ |
| 9 |
|
| 10 |
/* Profile "Live Video" tab: card wrapper and section headings. */ |
| 11 |
.wpstream-menu .item-body{ |
| 12 |
border: 1px solid #d6d9dd; |
| 13 |
border-radius: 4px; |
| 14 |
padding: 20px!important; |
| 15 |
margin-bottom: 20px; |
| 16 |
margin: 0px 10px 20px 10px; |
| 17 |
} |
| 18 |
|
| 19 |
body.wpstream-menu.buddypress .buddypress-wrap h4{ |
| 20 |
margin-bottom: 10px; |
| 21 |
margin-top: 25px; |
| 22 |
} |
| 23 |
|
| 24 |
/* Player: hide the default big "play" button in started/error/native-control states. */ |
| 25 |
.wpstream_live_player_wrapper .vjs-controls-disabled .vjs-big-play-button, |
| 26 |
.wpstream_live_player_wrapper .vjs-error .vjs-big-play-button, |
| 27 |
.wpstream_live_player_wrapper .vjs-has-started .vjs-big-play-button, |
| 28 |
.wpstream_live_player_wrapper .vjs-using-native-controls .vjs-big-play-button { |
| 29 |
display: none; |
| 30 |
} |
| 31 |
|
| 32 |
|
| 33 |
/* Player: reset the big-play-button transform/padding across wrappers. */ |
| 34 |
.wpstream_live_player_wrapper .video-js .vjs-big-play-button, |
| 35 |
.wpstream_player_container .video-js .vjs-big-play-button{ |
| 36 |
transform: none; |
| 37 |
padding: 0px; |
| 38 |
} |
| 39 |
/* Player: suppress the built-in error dialog text. */ |
| 40 |
.wpstream_live_player_wrapper .vjs-error .vjs-error-display .vjs-modal-dialog-content{ |
| 41 |
display: none;; |
| 42 |
} |
| 43 |
/* Player: size the big-play-button icon glyph. */ |
| 44 |
.wpstream_live_player_wrapper .video-js .vjs-big-play-button:before, |
| 45 |
.wpstream_player_container .video-js .vjs-big-play-button:before{ |
| 46 |
font-size: 57px; |
| 47 |
} |
| 48 |
|
| 49 |
/* Player: fixed 40x40 borderless control buttons. */ |
| 50 |
.wpstream_player_container button.vjs-control, |
| 51 |
.wpstream_player_container button.vjs-control{ |
| 52 |
border:none!important; |
| 53 |
width: 40px; |
| 54 |
height: 40px; |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
/* Timeline: cap the player width inside an activity entry. */ |
| 59 |
.activity-inner .wpstream_live_player_wrapper{ |
| 60 |
max-width: 715px; |
| 61 |
} |
| 62 |
|
| 63 |
|
| 64 |
/* Profile tab: button and live-control typography/spacing. */ |
| 65 |
body.wpstream-menu .buddypress-wrap button, |
| 66 |
body.wpstream-menu .vjs-wpstream .vjs-live-control { |
| 67 |
font-size: 12px; |
| 68 |
transition: 0.3s ease-out; |
| 69 |
border: 0px; |
| 70 |
padding: 0px 20px; |
| 71 |
line-height: 23px; |
| 72 |
} |
| 73 |
|
| 74 |
body.wpstream-menu .vjs-wpstream .vjs-live-control{ |
| 75 |
padding-left: 20px; |
| 76 |
} |
| 77 |
|
| 78 |
/* Profile tab: hide the picture-in-picture control glyph. */ |
| 79 |
body.wpstream-menu |
| 80 |
div.video-js .vjs-control-bar button.vjs-picture-in-picture-control .vjs-icon-placeholder:before{ |
| 81 |
display: none; |
| 82 |
} |
| 83 |
|
| 84 |
|
| 85 |
/* Player: vertical volume panel layout/sizing. */ |
| 86 |
.video-js .vjs-volume-panel { |
| 87 |
display: flex; |
| 88 |
align-items: center; |
| 89 |
align-content: center; |
| 90 |
flex-wrap: wrap; |
| 91 |
flex-direction: column; |
| 92 |
justify-content: space-around; |
| 93 |
height: 44px; |
| 94 |
width: 34px; |
| 95 |
} |
| 96 |
|
| 97 |
/* Player: vertically center control-bar icon glyphs and the live control. */ |
| 98 |
div.video-js .vjs-control-bar button .vjs-icon-placeholder:before, |
| 99 |
.vjs-wpstream .vjs-live-control { |
| 100 |
line-height: 40px; |
| 101 |
} |
| 102 |
|
| 103 |
/* Player: blank out the picture-in-picture control glyph content. */ |
| 104 |
div.video-js .vjs-control-bar button.vjs-picture-in-picture-control .vjs-icon-placeholder:before{ |
| 105 |
content:""; |
| 106 |
} |