Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. <style>
  2. .blinds_widget .progress-controls {
  3. position: absolute;
  4. z-index: 999;
  5. right:0;
  6. margin-right:10px;
  7. }
  8.  
  9. .blinds_widget .btn-group-vertical {
  10. position: relative;
  11.  
  12. }
  13.  
  14. .blinds_widget .blinds-slider .progress-controls .btn-default {
  15. color: rgb(103, 106, 108);
  16. font-size:26px;
  17. background-color: rgba(255,255,255,0.5);
  18. border-color:rgb(103, 106, 108, 0.5);
  19. padding: 0 !important;
  20. height:54px;
  21. }
  22.  
  23. .blinds_widget .blinds-slider .progress-controls .btn-default:hover {
  24. border-color:rgb(103, 106, 108, 0.5);
  25. background-color: rgba(255,255,255,0.7);
  26.  
  27. }
  28.  
  29. .blinds_widget .rz-limit {
  30. display:none;
  31. }
  32.  
  33. .blinds_widget button {
  34. border: 0px solid white;
  35. background: rgba(0,0,0,0.5);
  36. color: white;
  37. height: 1.5em;
  38. width: 1.5em;
  39. float: left;
  40. font-size: 3em;
  41. margin-right: 12px;
  42. line-height: 50%;
  43. padding: 0 0 0 0;
  44. }
  45.  
  46. .blinds_widget .center {
  47. margin: 0 auto;
  48. }
  49.  
  50. .blinds_widget .blinds-slider .rzslider .rz-bar {
  51. background-color: #cccccc;
  52. width: 100%;
  53. }
  54.  
  55. .blinds_widget .blinds-slider .rzslider .rz-selection {
  56. background-color: #b16700;
  57. }
  58.  
  59. .blinds_widget .blinds-slider.blinds-slider-{{ngModel.col}}-{{ngModel.row}} .rzslider .rz-selection {
  60. background-color: #75bbfd;
  61. }
  62. .blinds_widget .blinds-slider.blinds-slider-{{ngModel.col}}-{{ngModel.row}}.inactive .rzslider .rz-selection {
  63. background-color: #7e7b7b;
  64. }
  65. .blinds_widget .blinds-slider.inactive .rzslider .rz-bar {
  66. background-color: #cccccc;
  67. }
  68.  
  69.  
  70. .blinds_widget .readonly.blinds-slider.blinds-slider-{{ngModel.col}}-{{ngModel.row}} .rzslider {
  71. pointer-events: none;
  72. }
  73.  
  74. .blinds_widget .blinds-slider .rzslider .rz-pointer {
  75. display:none;
  76. }
  77.  
  78. .blinds_widget .blinds-slider .rzslider .rz-pointer:after {
  79. display: none;
  80. }
  81.  
  82. .blinds_widget .blinds-slider .rzslider .rz-bubble {
  83. bottom: 14px;
  84. }
  85.  
  86. .blinds_widget .blinds-slider .rzslider .rz-tick {
  87. width: 1px;
  88. height: 10px;
  89. margin-left: 4px;
  90. border-radius: 0;
  91. background: #ffe4d1;
  92. top: -1px;
  93. }
  94.  
  95. .blinds_widget .blinds-slider .rzslider .rz-tick.rz-selected {
  96. background-color: #b16700;
  97. }
  98.  
  99. .blinds_widget .blinds-slider .rzslider.rz-vertical {
  100. width: 100%;
  101. margin: 0;
  102. }
  103.  
  104. .blinds_widget .blinds-slider .rzslider.rz-vertical .rz-bubble {
  105. bottom: 0;
  106. left: 0px!important;
  107. margin-left: 3px;
  108. z-index:100;
  109. color:white !important;
  110. }
  111.  
  112. .blinds_widget .blinds-slider .rzslider.rz-vertical .rz-bar-wrapper {
  113. margin:0;
  114. padding:0;
  115. width:100%;
  116. cursor:pointer;
  117. }
  118.  
  119. .blinds_widget .blinds-slider .box-content {
  120. padding:0;
  121. }
  122. </style>
  123.  
  124.  
  125. <div class="blinds_widget">
  126. <div class="title">{{ngModel.name}}</div>
  127.  
  128. <div class="blinds-slider blinds-slider-{{ngModel.col}}-{{ngModel.row}} row center" ng-class="{'inactive':itemValue(config.blind_item) == 'N/A' || itemValue(config.blind_item) == 'UNDEF', 'readonly':config.no_slider || itemValue(config.blind_item) == 'UNDEF'}" style="height:180px;width:100%;" ng-init='slider = {
  129. "item": config.blind_percentage,
  130. "ceil": 100,
  131. "floor": 0,
  132.  
  133. "step": 10,
  134. "unit": "%",
  135. "vertical": true,
  136. "inverted": false,
  137. "readonly": false
  138. };'>
  139.  
  140. <div class="progress-controls">
  141. <div class="btn-group-vertical">
  142. <button type="button" class="btn btn-default btn-lg" title="UP" ng-click="sendCmd(config.blind_item, config.cmd_up)">
  143. <i class="glyphicon glyphicon-menu-up"></i>
  144. </button>
  145. <button type="button" class="btn btn-default btn-lg" title="STOP" ng-click="sendCmd(config.blind_item, config.cmd_stop)">
  146. <i class="glyphicon glyphicon-stop"></i>
  147. </button>
  148. <button type="button" class="btn btn-default btn-lg" title="DOWN" ng-click="sendCmd(config.blind_item, config.cmd_down)">
  149. <i class="glyphicon glyphicon-menu-down"></i>
  150. </button>
  151. </div>
  152. </div>
  153.  
  154. <widget-slider class="blinds-slider" ng-model="slider"></widget-slider>
  155. </div>
  156. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement