diff options
Diffstat (limited to 'javascript/videojs/src/css/_icons.scss')
| -rw-r--r-- | javascript/videojs/src/css/_icons.scss | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/javascript/videojs/src/css/_icons.scss b/javascript/videojs/src/css/_icons.scss deleted file mode 100644 index fc0f974..0000000 --- a/javascript/videojs/src/css/_icons.scss +++ /dev/null @@ -1,29 +0,0 @@ -// CSS styles for SVG icons used throughout video.js. -// -// The goal is to replace all icons from the font family pulled from videojs/font entirely. -// This project currently uses fonts. We want to replace this with SVGs from -// images/icons.svg. This will ensure consitency between versions, as well as simplified -// and straight-forward customization. - -// Default styling for all SVG icons -.vjs-svg-icon { - display: inline-block; - background-repeat: no-repeat; - background-position: center; - - fill: currentColor; - height: 1.8em; - width: 1.8em; - - // Overwrite any font content - &:before { - content: none !important; - } -} - -// SVG shadow on hover and focus -.vjs-svg-icon:hover, -.vjs-control:focus .vjs-svg-icon { - -webkit-filter: drop-shadow(0 0 0.25em #fff); - filter: drop-shadow(0 0 0.25em #fff); -} |
