component.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /* Scrollbar */
  2. .dashboard-container *::-webkit-scrollbar {
  3. width: 0.5rem;
  4. }
  5. .dashboard-container *::-webkit-scrollbar {
  6. width: 5px;
  7. height: 5px;
  8. }
  9. .dashboard-container *::-webkit-scrollbar-button {
  10. width: 0px;
  11. height: 0px;
  12. }
  13. .dashboard-container *::-webkit-scrollbar-thumb {
  14. background: #bbbbbb;
  15. border: 0px none #ffffff;
  16. border-radius: 50px;
  17. }
  18. .dashboard-container *::-webkit-scrollbar-thumb:hover {
  19. background: #949494;
  20. }
  21. .dashboard-container *::-webkit-scrollbar-thumb:active {
  22. background: #707070;
  23. }
  24. .dashboard-container *::-webkit-scrollbar-track {
  25. background: inherit;
  26. border: 0px none #ffffff;
  27. border-radius: 50px;
  28. }
  29. .dashboard-container *::-webkit-scrollbar-track:hover {
  30. background: #cecece;
  31. }
  32. .dashboard-container *::-webkit-scrollbar-track:active {
  33. background: #d3d3d3;
  34. }
  35. .dashboard-container *::-webkit-scrollbar-corner {
  36. background: transparent;
  37. }
  38. .dashboard-container {
  39. background-color: #efefef;
  40. }
  41. .dashboard-container .dashboard-grid{
  42. border: 1px solid transparent;
  43. display: grid;
  44. list-style-type: none;
  45. margin: 0;
  46. padding: 0;
  47. grid-column-gap: 0px;
  48. grid-row-gap: 0px;
  49. position: relative;
  50. }
  51. .dashboard-container .dashboard-grid.bordered {
  52. border: 1px solid#bbbbbb;
  53. }
  54. .dashboard-container .dashboard-placeholder{
  55. cursor: pointer;
  56. position: relative;
  57. box-shadow: inset 0px 0px 1px 2px transparent;
  58. border-radius: 10px;
  59. list-style-type: none;
  60. margin: 0;
  61. background-color: transparent;
  62. min-height: 100px;
  63. transition: all 0.15s linear;
  64. transition: border-radius 0.3s linear;
  65. }
  66. .dashboard-container .dashboard-grid.bordered .dashboard-placeholder{
  67. border-radius: 0;
  68. transition: all 0.05s linear;
  69. box-shadow: inset 0px 0px 1px 1px #bbbbbb;
  70. }
  71. .dashboard-container .dashboard-grid .dashboard-placeholder.drag-over{
  72. z-index: 10;
  73. border-radius: 10px;
  74. background-color: #dfeeff;
  75. box-shadow: inset 0px 0px 1px 2px #9fcdff;
  76. }
  77. .dashboard-container .dashboard-placeholder:hover{
  78. background-color: #e6e6e6;
  79. }
  80. .dashboard-container .dashboard-placeholder .placeholder-add{
  81. display: inline-block;
  82. opacity: 0;
  83. text-align: center;
  84. height: auto;
  85. vertical-align: bottom;
  86. line-height: 100%;
  87. position: absolute;
  88. color: #adadad;
  89. top: calc(50% - 15px);
  90. left: calc(50% - 15px);
  91. font-size: 30px;
  92. transition: opacity 0.15s linear;
  93. }
  94. .dashboard-container .dashboard-placeholder:hover .placeholder-add{
  95. opacity: 1;
  96. }
  97. .dashboard-container .dashboard-widget{
  98. z-index: 15;
  99. position: absolute;
  100. background-color: #ffffff;
  101. border-radius: 10px;
  102. box-shadow: 0 0 20px 0 #cecece !important;
  103. transition: transform 0.15s ease-in, box-shadow 0.15s ease-in;
  104. }
  105. .dashboard-container .dashboard-widget.ui-draggable-dragging{
  106. transform: scale(1.03);
  107. box-shadow: 0 0 40px 10px rgba(0,0,0,0.1)!important;
  108. }
  109. .dashboard-container .dashboard-widget .dashboard-widget-header{
  110. padding: 5px;
  111. background-color: #222222;
  112. color: #ffffff;
  113. border-radius: 10px 10px 0 0;
  114. display: flex;
  115. }
  116. .dashboard-container .dashboard-widget .dashboard-widget-content{
  117. padding: 5px;
  118. height: calc(100% - 34px);
  119. max-height: calc(100% - 34px);
  120. overflow: auto;
  121. display: flex;
  122. }
  123. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon,
  124. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title,
  125. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  126. display: inline-block;
  127. vertical-align: top;
  128. }
  129. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-icon{
  130. padding-left: 5px;
  131. }
  132. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-title{
  133. padding-left: 5px;
  134. flex-grow: 1;
  135. }
  136. .dashboard-container .dashboard-widget.widget-draggable .ui-draggable-handle{
  137. cursor: move;
  138. }
  139. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options{
  140. list-style-type: none;
  141. margin: 0;
  142. cursor: pointer;
  143. float: right;
  144. padding: 0;
  145. }
  146. .dashboard-container .dashboard-widget .dashboard-widget-header .widget-header-options:after{
  147. content :'';
  148. display: block;
  149. clear: both;
  150. }
  151. .dashboard-container .dashboard-widget .widget-header-options li{
  152. display: inline-block;
  153. }
  154. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  155. opacity: 0;
  156. position: absolute;
  157. bottom: -2px;
  158. right: 0px;
  159. cursor: all-scroll;
  160. transform: rotate(45deg);
  161. transition: all 0.15s ease-in;
  162. cursor: nw-resize;
  163. }
  164. .dashboard-container .dashboard-widget:hover .dashboard-widget-resize {
  165. opacity: 0.3;
  166. }
  167. .dashboard-container .dashboard-widget .widget-header-options li{
  168. padding: 0 0.5rem;
  169. opacity: 0.5;
  170. transition: opacity 0.15s ease-in;
  171. }
  172. .dashboard-container .dashboard-widget .widget-header-options .widget-option-delete,
  173. .dashboard-container .dashboard-widget .dashboard-widget-resize{
  174. display: none;
  175. }
  176. .dashboard-container .dashboard-widget.widget-removable .widget-header-options .widget-option-delete,
  177. .dashboard-container .dashboard-widget.widget-resizeable .dashboard-widget-resize{
  178. display: inline-block;
  179. }
  180. .dashboard-container .dashboard-widget .widget-header-options li:hover{
  181. opacity: 1;
  182. }
  183. .dashboard-configure-menu li.active i.text-muted{
  184. color: #ffffff!important;
  185. }
  186. .dashboard-configure-menu li{
  187. cursor: pointer;
  188. transition: background 0.15s ease-in;
  189. }
  190. .dashboard-configure-menu li:hover{
  191. background: #f3f3f3;
  192. }
  193. .dashboard-modal .widget-types{
  194. padding: 0;
  195. margin: 0;
  196. display: grid;
  197. grid-template-columns: auto auto auto;
  198. list-style-type: none;
  199. }
  200. .dashboard-modal .widget-types li{
  201. border-radius: 2px;
  202. padding: 5px;
  203. margin: 5px;
  204. background: #ebebeb;
  205. list-style-type: none;
  206. }