_drawcomponent.scss.html 1.83 KB
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='Ext-draw-Component-css_mixin-extjs-drawcomponent'>/**
</span> * Creates base structure for a Draw Component.
 * @member Ext.draw.Component
 */
@mixin extjs-drawcomponent {
    .#{$prefix}surface {
        @include inline-block;
        overflow: hidden;
    }

    .rvml {
        behavior: url(#default#VML);
    }

    .#{$prefix}surface tspan {
        @include no-select;
    }

    .#{$prefix}vml-sprite {
        position: absolute;
        left: 0;
        top: 0;
        width: 1px;
        height: 1px;
    }

    .#{$prefix}vml-group {
        position: absolute;
        left: 0;
        top: 0;
        width: 1000px;
        height: 1000px;
    }

    .#{$prefix}vml-measure-span {
        position: absolute;
        left: -9999em;
        top: -9999em;
        padding: 0;
        margin: 0;
        display: inline;
    }

    .#{$prefix}vml-base {
        position: relative;
        top: 0;
        left: 0;
        overflow: hidden;
        display: inline-block;
    }

    .#{$prefix}vml-base {
        position: relative;
        top: 0;
        left: 0;
        overflow: hidden;
        display: inline-block;
    }

    svg, vml {
        overflow: hidden;
    }
}

</pre>
</body>
</html>