_mixins.scss.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js">@import 'mixins/background-gradient';
  19. @import 'mixins/theme-background-image';
  20. @import 'mixins/inner-border';
  21. @import 'mixins/frame';
  22. @import 'mixins/reset-extras';
  23. @mixin no-select {
  24. user-select: none;
  25. -o-user-select: none;
  26. -ms-user-select: none;
  27. -moz-user-select: -moz-none;
  28. -webkit-user-select: none;
  29. cursor:default;
  30. }
  31. @mixin important-no-border-radius {
  32. //we need to hard code this so we can declare !important
  33. -moz-border-radius: 0 !important;
  34. -webkit-border-radius: 0 !important;
  35. -o-border-radius: 0 !important;
  36. -ms-border-radius: 0 !important;
  37. -khtml-border-radius: 0 !important;
  38. border-radius: 0 !important;
  39. }
  40. </pre>
  41. </body>
  42. </html>