_messagebox.scss.html 1.84 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">@mixin extjs-messagebox {
    .#{$prefix}message-box .#{$prefix}window-body {
        background-color: $window-background-color;
        border: none;
    }

    .#{$prefix}message-box .#{$prefix}progress-wrap {
        margin-top: 4px;
    }

    .#{$prefix}message-box-icon {
        width: 47px;
        height: 32px;
    }

    .#{$prefix}message-box-info,
    .#{$prefix}message-box-warning,
    .#{$prefix}message-box-question,
    .#{$prefix}message-box-error {
        background: transparent no-repeat top left;
    }

    .#{$prefix}message-box .#{$prefix}msg-box-wait {
        background-image: theme-background-image($theme-name, 'shared/blue-loading.gif');
    }

    .#{$prefix}message-box-info {
        background-image: theme-background-image($theme-name, 'shared/icon-info.gif');
    }

    .#{$prefix}message-box-warning {
        background-image: theme-background-image($theme-name, 'shared/icon-warning.gif');
    }

    .#{$prefix}message-box-question {
        background-image: theme-background-image($theme-name, 'shared/icon-question.gif');
    }

    .#{$prefix}message-box-error {
        background-image: theme-background-image($theme-name, 'shared/icon-error.gif');
    }
}</pre>
</body>
</html>