alertBar.1.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <style>
  2. .mask {
  3. /*position: absolute;*/
  4. position: fixed;
  5. /*position: relative;*/
  6. top: 0px;
  7. left: 0px;
  8. width: 100%;
  9. height: 100%;
  10. filter: alpha(opacity=60);
  11. background-color: #777;
  12. z-index: 0;
  13. background: rgba(0, 0, 0, .3);
  14. /*opacity: 0.5;*/
  15. /*-moz-opacity: 0.5;*/
  16. /*background: gray;
  17. position: fixed;
  18. left: 0px;
  19. top: 0px;
  20. width: 100%;
  21. height: 100%;
  22. display: none;
  23. z-index: 20;
  24. filter: alpha(opacity=60);
  25. opacity: 0.6 !important;*/
  26. }
  27. .md {
  28. width: 300px;
  29. height: 300px;
  30. position: absolute;
  31. left: 50%;
  32. top: 50%;
  33. margin-left: -150px;
  34. margin-top: -150px;
  35. border: 1px #000 solid;
  36. z-index: 9999 !important;
  37. text-align: center;
  38. background-color: white;
  39. }
  40. .mc {
  41. /*line-height: 270px;*/
  42. }
  43. </style>
  44. <!--<div class="alert alert-{{type || 'info'}}" ng-show="message">-->
  45. <div class="alert mask" ng-show="message">
  46. <div class="md">
  47. <h1 class="mc">{{message}}</h1>
  48. <input type="button" class="bt1" id="button" value="确 定" ng-click="hideAlert()">
  49. </div>
  50. </div>