right.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <div ui-view class="sale-view view-slide-in"></div>
  2. <style>
  3. .rbar {
  4. opacity: 1;
  5. width: 80px;
  6. position: fixed;
  7. top: 50%;
  8. right: 0;
  9. color: #555;
  10. zoom: 1;
  11. z-index: 2;
  12. background-color: #969595;
  13. }
  14. .rbar a:hover {
  15. color: #fff;
  16. }
  17. .rbar a:hover,.rbar a:focus,.rbar a:active {
  18. text-decoration: none;
  19. }
  20. .rbar .item-wrap {
  21. padding-top: 15px;
  22. position: relative;
  23. cursor: pointer;
  24. text-align: center;
  25. font-family: "Microsoft YaHei", SimHei, "WenQuanYi Micro Hei", STHeiti;
  26. -webkit-transition: all 0.15s ease-in-out;
  27. -moz-transition: all 0.15s ease-in-out;
  28. transition: all 0.15s ease-in-out;
  29. }
  30. .rbar .item-inner {
  31. border-bottom: 1px solid #ffffff;
  32. width: 80px;
  33. display: block;
  34. color: #ffffff;
  35. }
  36. .rbar .item-wrap:hover {
  37. background-color: #6f6f6f;
  38. color: #fff;
  39. }
  40. .rbar .inner-text {
  41. padding: 10px 0 5px 0;
  42. margin: auto;
  43. text-align: center;
  44. display: block;
  45. }
  46. .item-inner .badge {
  47. padding: 3px 5px;
  48. margin-bottom: 5px;
  49. white-space: nowrap;
  50. text-overflow: ellipsis;
  51. overflow: hidden;
  52. }
  53. .item-wrap:hover .badge {
  54. background-color: #fff;
  55. color: #56a022;
  56. }
  57. .item-wrap .tip {
  58. position: absolute;
  59. opacity: 0;
  60. zoom: 1;
  61. right: -100px;
  62. top: 0;
  63. width: 100px;
  64. height: 100%;
  65. background-color: #494949;
  66. border-radius: 2px 0 0 2px;
  67. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  68. -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  69. box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  70. font-size: 12px;
  71. text-align: center;
  72. color: #fff;
  73. -webkit-transition: all 0.35s ease-in-out;
  74. -moz-transition: all 0.35s ease-in-out;
  75. transition: all 0.35s ease-in-out;
  76. z-index: 0;
  77. }
  78. .item-wrap .tip:after {
  79. position: absolute;
  80. content: '';
  81. top: 20%;
  82. right: -10px;
  83. width: 0;
  84. height: 0;
  85. font-size: 0;
  86. border: solid 5px;
  87. border-color: transparent transparent transparent #494949;
  88. }
  89. .item-wrap:hover .tip {
  90. opacity: 1;
  91. right: 80px;
  92. }
  93. .item-wrap .tip>ul {
  94. margin: 0;
  95. padding: 0;
  96. }
  97. .item-wrap .tip>ul>li {
  98. color: #fff;
  99. padding: 10px;
  100. border-bottom: 1px solid #f6f6f6;
  101. -webkit-transition: all 0.15s ease-in-out;
  102. -moz-transition: all 0.15s ease-in-out;
  103. transition: all 0.15s ease-in-out;
  104. }
  105. .item-wrap .tip>ul>li>a {
  106. color: #fff;
  107. }
  108. .item-wrap .tip>ul>li:hover {
  109. background-color: #6f6f6f;
  110. }
  111. .rbar .bar-bottom {
  112. position: relative;
  113. bottom: 0;
  114. left: 0;
  115. border-top: 1px solid #e3e3e3;
  116. }
  117. .bar-bottom .item-wrap:first-child .item-inner {
  118. border-top: 1px solid #f9f9f9;
  119. }
  120. .rbar .icon-left {
  121. margin: 8px 10px 0 0;
  122. float: left;
  123. width: 30%;
  124. }
  125. </style>
  126. <!-- right static-bar Start -->
  127. <div class="rbar">
  128. <div class="bar-center" ng-controller="TodoCtrl">
  129. <div class="item-wrap">
  130. <a class="item-inner" ui-sref="fa.arCheck"> <span
  131. class="inner-text">应付对账单</span> (<span class="text-inverse"
  132. ng-bind="todo.arCheckToConfirm"></span>)
  133. </a>
  134. </div>
  135. </div>
  136. </div>
  137. <!-- right static-bar End -->