Add full screen imagery and styling
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -209,8 +209,8 @@ class GlModelTransformOutput extends MediaTransformOutput {
|
||||
'ontouchstart' => 'event.stopPropagation()'
|
||||
);
|
||||
|
||||
$screenDownUrl = $mainConfig->get( 'ExtensionAssetsPath' ) . '/GlModelViewer/resources/hs_slideshow.svg';
|
||||
$screenUpUrl = $mainConfig->get( 'ExtensionAssetsPath' ) . '/GlModelViewer/resources/hs_hide.svg';
|
||||
$screenDownUrl = $mainConfig->get( 'ExtensionAssetsPath' ) . '/GlModelViewer/resources/full_close.svg';
|
||||
$screenUpUrl = $mainConfig->get( 'ExtensionAssetsPath' ) . '/GlModelViewer/resources/full_open.svg';
|
||||
$attrMenuButtonScreen = array (
|
||||
'class' => 'glmv-menu-button',
|
||||
'onclick' => 'toggleFullScreen(this.parentNode.parentNode)',
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
|
||||
.glmv-container {
|
||||
position: relative;
|
||||
background: white;
|
||||
|
||||
& .full-show {
|
||||
display: none !important;
|
||||
|
||||
1
resources/full_close.svg
Normal file
1
resources/full_close.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="40px" viewBox="0 -960 960 960" width="40px" fill="#5f6368"><path d="M126.67-80 80-126.67l286.67-286.66H160V-480h320v320h-66.67v-206.67L126.67-80ZM480-480v-320h66.67v206.67L833.33-880 880-833.33 593.33-546.67H800V-480H480Z"/></svg>
|
||||
|
After Width: | Height: | Size: 278 B |
1
resources/full_open.svg
Normal file
1
resources/full_open.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="40px" viewBox="0 -960 960 960" width="40px" fill="#5f6368"><path d="M120-120v-306.67h66.67v193.34l540-540H533.33V-840H840v306.67h-66.67v-193.34l-540 540h193.34V-120H120Z"/></svg>
|
||||
|
After Width: | Height: | Size: 226 B |
Reference in New Issue
Block a user