Template:Audio/style.css: Difference between revisions

Content deleted Content added
mNo edit summary
m use border instead of shadow
 
(11 intermediate revisions by the same user not shown)
Line 1:
.audio-player {
height: 50px;
width: 350px100%;
max-width: 350px;
background: #444;
border-radius: 5px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.67);
border: 1px solid #444;
font-family: arial;
color: white;
font-size: 0.75em1em;
overflow: hidden;
display: grid;
grid-template-rows: 6px auto;
}
.audio-pause {
height: 40px;
width: 40px;
background: #444;
box-shadow: 0 0 20px2px 0 rgba(0, 0, 0, 0.67);
font-family: arial;
color: white;
font-size: 1em;
overflow: hidden;
}
.audio-player .timeline {
Line 130 ⟶ 142:
top: 50%;
transform: translateY(-50%);
}
 
.audio-player .controls .volume-container .volume-button .icon-muted {
font-family: Roboto,sans-serif;
width: 0;
height: 0;
border: 7px solid;
border-left: none;
border-top-color: transparent;
border-bottom-color: transparent;
padding: 6px 3px;
box-shadow: inset 4px 0;
margin: 4px 16px 4px 5px;
display: inline-block;
vertical-align: middle;
position: relative;
font-style: normal;
color: currentColor;
text-align: left;
text-indent: -9999px;
direction: ltr;
box-sizing: border-box;
transition: all .2s;
}
 
.audio-player .controls .volume-container .volume-button .icon-muted:before {
content: '';
pointer-events: none;
transform: translateY(-50%) rotate(45deg);
width: 10px;
height: 2px;
box-shadow: inset 0 0 0 32px;
left: 17px;
position: absolute;
top: 50%;
}
 
.audio-player .controls .volume-container .volume-button .icon-muted:after {
content: '';
pointer-events: none;
transform: translateY(-50%) rotate(45deg);
height: 10px;
width: 2px;
left: 21px;
box-shadow: inset 0 0 0 32px;
position: absolute;
top: 50%;
}
 
Line 135 ⟶ 194:
position: absolute;
left: -3px;
/* top: 15px0; */
z-index: -1;
width: 0;
Line 156 ⟶ 215:
text-overflow: ellipsis;
padding: 0 4px;
line-height: normal;
}
 
.audio-player .controls .name a {
color: inherit;
}