Browse Source

réparer les play/pause du player 360

master
BoOz 4 months ago
parent
commit
8f264bfb2a
  1. 113
      360-player/360player-visualization.css
  2. 18
      360-player/pause.svg
  3. 7
      360-player/play.svg
  4. 0
      modeles/audio360.html

113
360-player/360player-visualization.css

@ -1,48 +1,71 @@
/* larger canvas, spectrum + EQ visualization and other items */
.ui360-vis,
.ui360-vis .sm2-360ui,
.sm2-inline-list .ui360-vis {
/* size of the container for the circle, etc. */
width:256px;
height:256px;
}
.ui360-vis {
position:relative;
/* a little extra spacing */
padding-top:1px;
padding-bottom:1px;
padding-left:248px;
margin-left:0px;
background-position:22.6% 50%; /* (~109px) initial play button position */
}
.sm2-inline-list .ui360-vis {
cursor:pointer
}
.ui360-vis a {
font:14px "helvetica neue",helvetica,monaco,lucida,terminal,monospace;
white-space:nowrap;
text-indent:0px; /* undo inline style */
top:46%; /* ehh. */
}
/* larger canvas, spectrum + EQ visualization and other items */
.ui360-vis,
.ui360-vis .sm2-360ui,
.sm2-inline-list .ui360-vis {
/* size of the container for the circle, etc. */
width:192px;
height:192px;
vertical-align:middle;
}
.ui360-vis {
position:relative;
/* a little extra spacing */
padding-top:1px;
padding-bottom:1px;
padding-left:192px;
margin-left:0px;
background-position:22.6% 50%; /* (~109px) initial play button position */
width: auto;
height:auto;
box-sizing: border-box;
white-space:nowrap;
}
.sm2-inline-list .ui360-vis {
cursor:pointer
}
.ui360-vis a {
font-family:Walbaumgrot, helvetica, arial, sans-serif;
font-size: 1em;
text-indent:0px; /* undo inline style */
padding-left: 20px;
color: #333;
font-weight: 400;
float:none;
box-sizing: border-box;
width: 100%;
display:inline-block;
vertical-align: middle;
top:0;
white-space:normal;
}
.sm2-inline-list .ui360-vis a {
line-height:192px;
top:auto;
}
.ui360-vis .sm2-360ui {
margin-left:-192px;
}
.sm2-inline-list .ui360-vis a {
line-height:256px;
top:auto;
}
.ui360-vis .sm2-360ui {
margin-left:-256px;
.ui360-vis .sm2-360ui {
margin-left:-192px;
}
.ui360-vis .sm2-timing {
font:bold 24px "helvetica neue",helvetica,monaco,lucida,terminal,monospace;
color:#333;
text-align:center;
line-height:256px;
line-height:200px;
text-indent:0px;
}
@ -101,36 +124,34 @@
.ui360-vis .sm2-360btn,
.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn,
.ui360-vis .sm2-360ui.sm2_playing .sm2-360btn {
width:48px;
height:48px;
margin-left:-24px;
margin-top:-24px;
border-radius: none;
width: 50px;
height: 50px;
margin-left: -19px;
margin-top: -24px;
border-radius: 0;
}
.ui360-vis,
.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn,
.ui360-vis .sm2-360btn-default {
background:transparent url(360-button-vis-play.png) no-repeat 50% 50%;
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAABuVBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADv7++lpaXr6+uAgIDk5OQzMzPt7e1tbW3n5+dgYGDW1tZNTU10dHQ5OTnw8PCvr6/e3t6JiYlAQEDb29vo6OgrKyuqqqrq6uq4uLjf399AQEDGxsbq6uqAgIDY2Nje3t61tbXp6enU1NTu7u7r6+vl5eXt7e2fn5/n5+fDw8Ph4eHv7+/t7e3CwsLW1tbu7u7b29vw8PDm5uYgICDp6enY2Nji4uLo6Ojm5uakpKTS0tLPz8/h4eHw8PDs7Ozj4+Pa2trg4ODx8fHT09Pk5OTPz8/S0tLBwcGmpqawsLCOjo7h4eHn5+fo6OgAAADY2NjNzc3n5+cAAADd3d3Gxsbu7u7t7e0AAADX19fl5eXi4uLf39/Hx8fn5+fs7Ozg4ODR0dHX19e4uLjv7+/z8/P09PTy8vL19fXv7+/n5+fx8fH29vbs7Ozq6urm5ubo6Ojw8PDu7u7p6enr6+sAAAB/f3/Z2dn39/fh4eGOjo4ODg7t7e3l5eWWlpba2tqjo6NVVVXk5OTe3t65ubnMzMzExMTf39/GxsampqZiYmJNcTiZAAAAbXRSTlMAAQIEAwcFCAb5EdAImAXpB6oIU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02T/s0tIASyf/R6Arr59fcM62G+8fnsVhdwFwq4Ov345Of/15wd0RYY81HHUTQAAAABJRU5ErkJggg==);
*background-image:url(360-button-vis-play.png);
_background:transparent url(360-button-vis-play.gif) no-repeat 50% 50%;
background:transparent url(play.svg) no-repeat 50% 50%;
cursor:pointer;
}
.ui360-vis:hover .sm2-360btn,
.ui360-vis .sm2-360btn-default:hover,
.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn:hover {
background:transparent url(360-button-vis-play-light.png) no-repeat 50% 50%;
_background:transparent url(360-button-vis-play.gif) no-repeat 50% 50%;
background:transparent url(pause.svg) no-repeat 50% 50%;
cursor:pointer;
}
.ui360-vis .sm2-360ui.sm2_playing .sm2-360btn:hover,
.ui360-vis .sm2-360btn-playing:hover {
background:transparent url(360-button-vis-pause-light.png) no-repeat 50% 50%;
_background:transparent url(360-button-vis-pause-light.gif) no-repeat 50% 50%;
background:transparent url(pause.svg) no-repeat 50% 50%;
cursor:pointer;
}

18
360-player/pause.svg

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="48px"
height="48px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
<g id="Rectangle_1_2_" display="none" enable-background="new ">
<image overflow="visible" width="48" height="48" id="Rectangle_1_xA0_Image" xlink:href="BA3AB32B091AD0CE.png" >
</image>
</g>
<g id="Calque_3">
<rect x="5" y="4" fill-rule="evenodd" clip-rule="evenodd" width="10" height="40"/>
<rect x="23" y="4" fill-rule="evenodd" clip-rule="evenodd" width="10" height="40"/>
</g>
<g id="Rectangle_1_copie_2_" display="none" enable-background="new ">
<image overflow="visible" width="48" height="48" id="Rectangle_1_copie_xA0_Image" xlink:href="BA3AB32B091AD0D2.png" >
</image>
</g>
</svg>

7
360-player/play.svg

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="50.016px" height="49.5px" viewBox="0 0 50.016 49.5" enable-background="new 0 0 50.016 49.5" xml:space="preserve">
<polygon fill="#1A171B" points="0,49.5 0,0 50.016,24.75 "/>
</svg>

0
modeles/audio.html → modeles/audio360.html

Loading…
Cancel
Save