This repository has been archived on 2026-01-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
plyr/src/less/base.less
T
Sam Potts 1cc2930dc0 ES6-ified
2017-11-04 14:25:28 +11:00

48 lines
980 B
Plaintext

// --------------------------------------------------------------
// Base styling
// --------------------------------------------------------------
// Base
.plyr {
position: relative;
max-width: 100%;
min-width: 200px;
font-family: @plyr-font-family;
font-weight: @plyr-font-weight-normal;
direction: ltr;
text-shadow: none;
// Media elements
video,
audio {
width: 100%;
height: auto;
vertical-align: middle;
border-radius: inherit;
}
}
// Full UI only
.plyr--full-ui {
& when(@plyr-border-box = true) {
// border-box everything
// http://paulirish.com/2012/box-sizing-border-box-ftw/
&,
*,
*::after,
*::before {
box-sizing: border-box;
}
}
& when(@plyr-touch-action = true) {
// Fix 300ms delay
a,
button,
input,
label {
touch-action: manipulation;
}
}
}